Skip to content

Since 2.17.0, window.d3 is exported with internal 3.8.0 version preventing loading of external d3 library #6483

Closed
@lucasnetau

Description

@lucasnetau

Versions 2.17.0 to 2.18.1 (since change to webpack), window.d3 is defined to the Plotly packaged D3 3.8.0 version. This prevents loading a newer version of D3.

A newer version is needed since Plotly 2.0.0 to access d3.csv/json and also d3 colours (eg d3.schemeCategory10)

Workaround is to set window.d3 = undefined after loading Plotly.js and then including external D3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions