Plotly.d3 is undefined now
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
The example in the plotly book with the images appearing on hovering does no longer work. That's because Plotly.d3 is undefined in recent versions of plotly.js. This had been announced in the announcement of plotly.js v2.
So to make the example work, one has to include d3.js as a HTML dependency and do d3.select instead of Plotly.d3.select.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplying-custom-data example in the plotly book and inspect how its HTML dependencies and hover-image selection are defined. Update the example to use the declared D3 dependency and verify that images still appear on hover with recent plotly.js versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3js, javascript, r
- Domain
- data-visualization, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100