assignmet_2_question_2
✓ Published0🌍 Public
This area chart visualizes the annual count of holidays, showing the number per year over time. The example includes two variations: one parses a static dataset of yearly counts, while the other loads a CSV from a gist and groups the data by year. Using D3 v7 with `scaleTime`, `scaleLinear`, `area`, `curveBasis`, and standard axis elements, it renders the smoothed area in SVG. The chart labels both axes and includes a title, with the data sourced either inline or from the external CSV file.
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