Sunburst,covid
✓ Published0🌍 Public
This example shows the effectiveness of a vaccination campaign through a stacked area chart that visualizes first, second, and booster dose counts over time. Built with D3 v6, the code uses `d3.stack()` to layer the three vaccine categories, `d3.area()` with `d3.curveMonotoneX` to render the stacked areas, and `d3.scaleTime()` for the time axis. The SVG rendering includes axes and a legend, with data provided as a static JavaScript array of sample entries.
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