🌍 Public
Viewing a saved revision (read-only)
d1fd6b389cbb4c15893ecec07a8d755a
TASK-9&10(Q2)
A population area chart displays the population of multiple countries from a CSV file hosted on GitHub. The chart uses a single steel-blue filled path created with `d3.area`, positioned by a band scale for countries and a linear scale for population values. Axes from `d3.axisBottom` and `d3.axisLeft` include rotated country labels and axis titles. Data is loaded asynchronously with `d3.csv`, and the SVG renders on a light gray background with a visible border.
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.