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)

09b6a093aa6d4448aa24dc0740244ca9

Line Chart with Multiple Lines

0 stars0🌍 Public
MMch9006
Last edited Apr 12, 2019
Created on Apr 12, 2019

This line chart displays hourly collision counts across New York City boroughs, with each borough represented by a distinct colored line. The visualization uses D3 v5 with SVG rendering, employing `d3.csv` for data loading, `d3.scaleTime` and `d3.scaleLinear` for axes, and `d3.line` with `curveBasis` for smooth paths. A custom color legend function places ordinal color scales alongside the chart, while data from Counts.csv is nested by borough using `d3.nest`.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.