Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature of Multiple Cities

Public visualization

Viewing a saved revision (read-only)

fe08ac56c61c4fcfb9b16ab0fd38b28e

Temperature of Multiple Cities

0 stars0🌍 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