Temperature in San Francisco Area Chart
✓ Published1🌍 Public
This area chart displays a week of temperature data in San Francisco, with time on the x-axis and degrees Celsius on the y-axis. The visualization uses a smooth curved area fill to emphasize temperature variation across the period, with a title and labeled axes. The code uses d3.csv to load the dataset from a CSV file, scales time and linear values with d3.scaleTime and d3.scaleLinear, and renders the area using the d3.area generator with a curveBasis interpolation. Axis elements are created with d3.axisBottom and d3.axisLeft, and the SVG output includes grid lines and styled text.
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