Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, with a smooth curve connecting hourly readings across time. The visualization uses d3.scaleTime for the x-axis, d3.scaleLinear for the y-axis, and d3.line with curveBasis to generate the path. Axes are rendered via d3.axisBottom and d3.axisLeft, with grid lines created by negative tick sizes. Data is loaded from a CSV using d3.csv, and the SVG output includes styled axis labels and a title.
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