Temperature Chart Example
✓ Published0🌍 Public
This line chart displays one week of temperature data in San Francisco, sourced from Data Canvas - Sense Your City. The visualization uses d3.scaleTime and d3.scaleLinear to map timestamps and temperature values, with d3.axisBottom and d3.axisLeft rendering grid lines and tick labels. A smoothed line generated by d3.line with curveBasis connects the data points, while the SVG output includes labeled axes and a title. Temperature data is loaded via d3.csv from a remote dataset.
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