Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

City Temperatures

Public visualization

City Temperatures

0 stars0🌍 Public
Rrigt
Last edited Oct 16, 2018
Created on Oct 15, 2018

This visualization displays one week of temperature data for multiple cities, using color-coded line paths to distinguish each city’s trends over time. The chart includes a dropdown selector to choose which data attribute to explore, alongside a color legend for city identification. Built with D3 v5, it uses `d3.csv` for data loading, `d3.line` with `curveBasis` for smooth paths, and `d3.scaleTime` and `d3.scaleLinear` for axes. A `nest()` operation groups measurements by city, and the SVG rendering includes styled grid lines and axis labels.

AI-generated description

Data

Comments

Sign in to join the discussion.

MIT Licensed