Temperature in San Francisco Area Chart
✓ Published24🌍 Public
This area chart displays one week of temperatures in San Francisco, with time on the x-axis and degrees Celsius on the y-axis, using a smooth curved line and filled area rendered as SVG. The code imports specific D3 v5 modules, including `scaleTime`, `scaleLinear`, `area`, `curveBasis`, `axisBottom`, and `axisLeft`, to construct the chart. Temperature data is parsed from a CSV file supplied by Data Canvas - Sense Your City, with each timestamp converted to a JavaScript `Date` object. The visualization includes styled axis labels, a title, and gridlines with a maroon fill for the area path.
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.
MIT Licensed