Skip to main content
100%

Seismo - line simple

✓ Published0🌍 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:

MIT Licensed

Similar vizzes