area chart
✓ Published0🌍 Public
This area chart displays India’s population across different countries, with a steel-blue filled path representing the data. It loads population data from a CSV file and renders it as an SVG using D3 v7. The chart uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.area()` to generate the area shape. Axes are created with `d3.axisBottom` and `d3.axisLeft`, and labels are 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.
MIT Licensed