Skip to main content
100%

population density_9

✓ Published0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes