Line chart with multiple lines
✓ Published0🌍 Public
This line chart displays the number of reviews per state across the days of a year, with multiple colored lines representing individual states. The visualization includes an interactive color legend that highlights a selected state while dimming others. Built with D3 v5 and rendered as SVG, the code uses `d3.csv` for data loading, `d3.nest` for grouping by state, and `d3.line` with `curveBasis` for smooth lines. Axis labels and a title are added, while the legend is implemented through a custom `colorLegend` function. The underlying data comes from the provided external CSV dataset.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.
MIT Licensed