Activity - 9_Question - 2
✓ Published0🌍 Public
This example renders a single-area chart depicting monthly average temperatures from a CSV file. It uses D3 v5 to load the data, map months to a band scale, and temperatures to a linear scale, then draws a steel-blue area path. The code adds labeled x- and y-axes using `d3.axisBottom` and `d3.axisLeft`, with the chart output as SVG. The visualization clearly shows the seasonal temperature variation across the twelve months.
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