Skip to main content
100%

fresh block

✓ Published0🌍 Public
Aandramalmen
Last edited Jan 29, 2018
Created on Jan 29, 2018

A multi-line chart displays temperature readings for several cities over time, parsed from a tab-separated data file with `d3.tsv` and `d3.timeParse`. The code uses `d3.scaleTime`, `d3.scaleLinear`, and `d3.scaleOrdinal` with `d3.schemeCategory10` to map dates, temperatures, and city colors, while `d3.line` with `d3.curveBasis` draws smoothed paths. Axis labels and city names appear via `d3.axisBottom`, `d3.axisLeft`, and SVG text elements. The visualization renders entirely as SVG, with each city’s series and its final value labeled at the line’s endpoint.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes