Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sankey with mouseover links not working with d3@6 #89

Closed
PBrockmann opened this issue May 7, 2021 · 1 comment
Closed

sankey with mouseover links not working with d3@6 #89

PBrockmann opened this issue May 7, 2021 · 1 comment

Comments

@PBrockmann
Copy link

https://observablehq.com/@pbrockmann/sankey-with-mouseover

works with d3 = require("d3@5", "d3-sankey@0.12")
not with
d3 = require("d3@6", "d3-sankey@0.12")

Am I missing something ?

@Fil
Copy link
Member

Fil commented May 7, 2021

you should change function showLinks(d) to function showLinks(event, d), see https://observablehq.com/@d3/d3v6-migration-guide#events

@Fil Fil closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants