Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

population density_9

Public visualization

Viewing a saved revision (read-only)

cb886095e5e84621875a5daf59b981d2

population density_9

0 stars0🌍 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.