Area Chart
✓ Published0🌍 Public
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 descriptionThis 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