Melting Data for Multiple Lines
✓ Published0🌍 Public
This line chart displays population changes over time for various modules, with each module’s data as a separate colored line. The visualization uses D3 v5 with SVG rendering, employing `scaleTime`, `scaleLinear`, `scaleOrdinal`, and a `line` generator with `curveBasis`. Data is loaded from a CSV file and processed using `nest` to group by module. A custom color legend is created using `scaleOrdinal` with `schemeCategory10`. The chart includes axes with gridlines and a title.
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