Fork of Area Death's
✓ Published0🌍 Public
This line chart displays temperature data (in degrees Celsius) for one week in San Francisco, sourced from Data Canvas - Sense Your City. The visualization uses D3 v5 to render an area chart with a smooth curve, mapping dates to the x-axis and temperature values to the y-axis. The code employs D3’s `scaleTime`, `scaleLinear`, `area`, and `curveBasis` APIs to generate the filled path, with axes formatted using `axisBottom` and `axisLeft`. The chart is drawn as an SVG, featuring a red title and orange fill, with gridlines and axis labels styled via CSS.
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