Line Chart
✓ 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 version 5 to map timestamps and temperature values to a time-scaled x-axis and a linear y-axis, with a basis-curved line path representing the temperature trend. Axis labels and a title are rendered as SVG text, while grid lines are generated via `axisBottom` and `axisLeft` ticks. The chart is styled with CSS for the line's stroke, width, and title appearance.
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