I want to make two charts interactive. The code for the charts can be found in the following links: https://github.com/irbp005/d3SankeyAndLineInteraction
The visual representation of the charts is as follows:
The lines represent the trend value of the node A, B & C.
What I want to do is that when hovering over the A, B & C nodes the corresponding lines in the line chart get highlighted and vice versa, when hovering over the lines in the line chart the nodes in the sankey chart get highlighted.
Any ideas on how I can achieve this interaction.
Thanks
Here's some quick modifications to achieve your aims: