🌍 Public
Viewing a saved revision (read-only)
ef8e64e2c4eb4dcdb981f696d123410a
Area Chart - Task 9
This area chart displays temperature readings for various cities from a weather CSV file. The visualization uses a blue filled area to represent temperature values along a categorical city axis, with rotated city labels and a temperature axis. Built with D3 v7, the code fetches and parses the CSV, then uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.area` to generate the filled path. Axes are rendered via `d3.axisBottom` and `d3.axisLeft`, with labels added for both axes.
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.