Skip to main content
100%

Fork of Line Chart with Multiple Lines

✓ Published1🌍 Public
JJaswitha09
Last edited Nov 28, 2021
Created on Nov 28, 2021

This chart visualizes a week of temperature data from cities worldwide, using a line chart with multiple colored lines to compare temperature trends over time. It displays time on the x-axis and temperature in degrees Celsius on the y-axis, with each city represented by a distinct color from the `scaleOrdinal` and `schemeCategory10` palette. The visualization uses `d3.line` with `curveBasis` for smoothing and includes a color legend generated by a custom `colorLegend` function. Data is loaded via `d3.csv` from the Data Canvas - Sense Your City dataset and rendered as SVG.

AI-generated description

This 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

Similar vizzes