🌍 Public
Viewing a saved revision (read-only)
dbc91aac452d408ca40ea021e508bb6f
population density_9
This example presents two side-by-side SVG charts analyzing population data from a CSV file loaded from GitHub. A scatter plot maps population density per square mile against growth rate, with circle size proportional to 2023 population, while a bar chart displays total population per country. Both charts include interactive tooltips and axis labels. The visualization uses D3 v7 APIs including `d3.csv`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisBottom`/`d3.axisLeft`, rendering entirely with SVG elements.
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.