🌍 Public
Viewing a saved revision (read-only)
94c490ca478c40739a2b7dc2c7c16d5c
Activity 7.1.1
This area chart displays laptop sales across different months of the year. The visualization loads data from an external CSV file hosted on GitHub and renders a smooth, cardinal-curved area filled in yellow, with labeled X and Y axes. The implementation uses D3 v7 with several key APIs: `d3.select` to build the SVG container, `d3.scaleBand` and `d3.scaleLinear` for coordinate mapping, `d3.area` with `d3.curveCardinal` for the area shape, and `d3.axisBottom` and `d3.axisLeft` for the 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.