Skip to main content
Public

Share visualization

Loading preview…

Line Chart with Multiple Lines

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Line Chart with Multiple Lines

2
NNeepaB
Last edited Jan 5, 2021
Created on Jan 5, 2021

This line chart displays one week of temperature data for multiple cities in San Francisco, sourced from Data Canvas - Sense Your City. Lines are rendered in SVG using d3.line and d3.curveBasis to smooth the series, with colors assigned via d3.scaleOrdinal and a categorical color scheme. Axes use d3.axisLeft and d3.axisBottom, while a custom colorLegend function draws circles and labels for the city names, and the data is loaded with d3.csv.

AI-generated description

This line chart shows one week of temperature ( in degrees celcius) in San Francisco. The data comes from Data canvas - sense your city.

Comments

Sign in to join the discussion.

MIT Licensed