line chart time_tooltip koshish
✓ Published1🌍 Public
This line chart displays daily values over a week in April 2018, with a red curve plotted against time on the x-axis and a linear scale for the y-axis. Hovering over the chart reveals a tooltip with a circle marker that follows the mouse position, displaying the date and value of the nearest data point. Built with D3 v5, the visualization uses `d3.scaleTime`, `d3.scaleLinear`, and `d3.line` to render the SVG path, and implements the tooltip via a bisector and mouse event handlers. The data comes from a CSV file parsed with `d3.csv`.
AI-generated descriptionMIT Licensed