Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart with multiple lines

Public visualization

Line chart with multiple lines

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed