Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Area Chart

0 stars0🌍 Public
AAlankruthSai
Last edited Mar 26, 2022
Created on Mar 26, 2022

This area chart visualizes one week of San Francisco temperature data, sourced from Data Canvas - Sense Your City, with the y-axis labeled "cost" and the x-axis as "Time." The code uses d3.scaleTime and d3.scaleLinear with d3.axisBottom and d3.axisLeft to construct the axes, and d3.area with a basis curve to render the filled region. The SVG output is styled via CSS, and the data is loaded asynchronously from a CSV using 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.

Made in this video:

Comments

Sign in to join the discussion.

MIT Licensed