Activity 7 Question 2
✓ Published0🌍 Public
This area chart displays global average temperature over time, with the year on the x-axis and temperature in degrees Celsius on the y-axis. The chart is rendered as an SVG using the D3 v7 library, loading data from a CSV file provided via a GitHub gist URL. The code uses `d3.scaleLinear` for both axes, `d3.area` to create the filled area path, and `d3.axisBottom` and `d3.axisLeft` for tick marks. The area is filled with a semi-transparent steelblue color, and the chart includes labeled axes and a title.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed