Skip to main content
100%

Line chart with multiple lines

✓ Published1🌍 Public
RResl411
Last edited Nov 19, 2019
Created on Nov 18, 2019

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 description
MIT Licensed

Similar vizzes