Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Seismo - line simple

Public visualization

Viewing a saved revision (read-only)

079df4b0b2cb480fb7c55377d0cbbd00

Seismo - line simple

0 stars0🌍 Public
PPiotr Paszek
Last edited May 13, 2021
Created on May 13, 2021

This line chart visualizes one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The smooth curve is rendered using an SVG path generated by d3.line with a curveBasis interpolation. The code employs d3.scaleTime and d3.scaleLinear for axes, with d3.axisBottom and d3.axisLeft creating gridlines and tick labels. The chart includes a title, axis labels, and data-driven styling via CSS, with margins and responsive sizing computed from the SVG dimensions.

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.

Made in this video: