Skip to main content
100%

Temperature of Multiple Cities

✓ Published0🌍 Public
Hhxc20060903
Last edited Jan 30, 2021
Created on Jan 4, 2021
Forked from Hello VizHub

This visualization displays temperature trends across multiple cities over time, with each city represented by a distinct colored line. The data comes from a CSV file and is rendered using D3 v5, employing `scaleTime` and `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for colors, and a line generator with `curveBasis`. A custom color legend, positioned on the right, maps city names to their line colors via `colorLegend` function. The chart includes gridlines, axis titles, and a main title, all rendered as SVG elements with CSS styling for typography and line appearance.

AI-generated description
MIT Licensed

Similar vizzes