ICE 7 : Task 4 (Area Chart)
✓ Published0🌍 Public
This example visualizes Tesla sales by year using an area chart. The view shows a smoothed curve with a filled blue region beneath it, plotted over time on an SVG canvas. It loads CSV data from a GitHub gist and parses dates with `d3.timeParse`. The visualization uses D3 v5 scales (`scaleTime`, `scaleLinear`), axes (`axisLeft`, `axisBottom`), and generators (`area`, `line`) with `curveBasis` for smoothing. Gridlines and rotated axis labels clarify the quantitative and temporal ranges.
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