codesuki / react-d3-components

D3 Components for React
http://codesuki.github.io/react-d3-components/example.html
MIT License
1.63k stars 206 forks source link

Feature Suggestion: Having a line when hovering over the chart #158

Open henrych4 opened 6 years ago

henrych4 commented 6 years ago

Thanks for the great library. Recently I have used this repo in building graphs. And I found out it's common to have a vertical line indicating the current location when hovering over the chart. Like what is shown here: https://vx-demo.now.sh/areas

And I have built something similar at here: https://github.com/henrych4/react-d3-components You can take a look on Chart.jsx and AreaChart.jsx. How do you think about this feature?

codesuki commented 6 years ago

Good idea! Would you mind posting a screenshot here?