Skip to main content
100%

Line Chart with Multiple Lines

✓ Published0🌍 Public
Ggcappadaniel
Last edited Sep 17, 2020
Created on Sep 17, 2020

This line chart displays one week of temperature readings in degrees Celsius for cities around the world, using data from Data Canvas - Sense Your City. Each city appears as a separate colored line, with a color legend on the right and a titled chart showing time on the x-axis and temperature on the y-axis. The visualization is rendered as an SVG using D3 v5, employing d3.scaleTime, d3.scaleLinear, d3.scaleOrdinal, d3.line with curveBasis, d3.nest, and d3.axisLeft/axisBottom. Data is loaded via d3.csv from a GitHub-hosted CSV file, with dates parsed using the Day.js library.

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.

https://raw.githubusercontent.com/ask4jm/Test/master/data.csv

MIT Licensed

Similar vizzes