Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This line chart displays one week of temperature data for San Francisco, sourced from the Data Canvas - Sense Your City project. The visualization plots time on the x-axis and temperature in degrees Celsius on the y-axis, using a smooth curved line to connect data points. The code employs d3.scaleBand and d3.scaleLinear for axes, d3.line with curveBasis for the path, and d3.axisBottom and d3.axisLeft for labeled ticks. Data is loaded asynchronously via d3.json, and the SVG rendering includes grid lines, 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