Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart with multiple lines

Public visualization

Viewing a saved revision (read-only)

5137ace653d84c1aabe5c274587e70ce

Line chart with multiple lines

0 stars0🌍 Public
Jjlspangl
Last edited Oct 13, 2021
Created on Oct 13, 2021

A line chart displays one week of temperature data for multiple cities, with each city represented by a colored line. The visualization uses D3 v5's `scaleTime`, `scaleLinear`, and `scaleOrdinal` to map time and temperature, while `nest()` groups the data by city and `line()` with `curveBasis` smooths each series. Color-coded lines are sorted by their final temperature values, and a custom `colorLegend` function renders a categorical legend. The data originates from Data Canvas - Sense Your City, showing temperatures in Celsius.

AI-generated description

This scatter plot shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.