Skip to main content
100%

population per year_10

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

This visualization compares population data across countries for 1980, 2000, 2010, and 2022. It shows the relationship between 1980 and 2022 populations via a bubble chart, with circle size encoding the 2022 value, alongside a grouped bar chart breaking down each country's figures for all four years. The code uses D3 v7 APIs such as `d3.csv`, `d3.select`, `d3.scaleLinear`, `d3.scaleSqrt`, `d3.scaleBand`, `d3.scaleOrdinal`, `d3.axisBottom`, and `d3.axisLeft` to render SVG charts. Data is loaded from a remote CSV file, and tooltips are added via SVG `<title>` 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