Another Interaction Visualization
✓ Published0🌍 Public
This interactive line chart displays monthly car sales data for Toyota and Mitsubishi from 1991 to 2013, with each series rendered as a smooth curve using D3’s `line()` generator with `curveBasis`. The visualization uses SVG and React, with scales from `d3.scaleTime` and `d3.scaleLinear` to map dates and values. Users can hover over a legend item to highlight its corresponding line in its original color while dimming others to light grey, or click the legend to toggle a series’ visibility. The data comes from a tab-separated `dataset.tsv` file.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed