Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Multiple line Chart

Public visualization

Viewing a saved revision (read-only)

9bbc9c4a14f842f8ba9985d207040b9f

Multiple line Chart

0 stars1🌍 Public
AAjit Singh
Last edited Jan 16, 2021
Created on Jan 16, 2021

This visualization displays temperature trends over time for multiple cities, with each city represented by a distinct colored line and labeled in a legend. The lines are smoothed using `curveBasis` and data is grouped by city via `d3.nest()`, while axes and scales are built with `d3.scaleTime`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft`. The color scale uses `d3.scaleOrdinal` with `schemeCategory10`, and the SVG rendering includes styled grid lines and a title. Data is loaded as CSV from an external URL.

AI-generated description

An example including some commonly used features of SVG.