Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in multiple cities Line Chart

Public visualization

Temperature in multiple cities Line Chart

0 stars1🌍 Public
HHasideluxe
Last edited Aug 3, 2020
Created on Aug 3, 2020

A line chart displays a week of temperature readings across multiple cities, with each city rendered as a distinct colored path sorted by its final temperature. The visualization uses d3.csv to load the data, d3.scaleTime and d3.scaleLinear for axes, d3.nest to group by city, and d3.line with curveBasis for smooth paths. A custom colorLegend component generates the ordinal color scale legend, while SVG rendering includes labeled axes and a title.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed