Line chart with multiple lines
✓ Published1🌍 Public
This line chart displays the number of reviews per day for different states, with each state’s data represented by a colored line and a legend that allows filtering by clicking. The visualization uses d3’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `line` with `curveBasis` to render smooth paths, alongside a custom `colorLegend` for interactive selection. Data is loaded from a CSV file via d3’s `csv` method, and the chart updates by re-rendering the nested groups when a legend item is clicked.
AI-generated descriptionMIT Licensed