Skip to main content
100%

GDP Average Chart

✓ Published0🌍 Public
Mmhzahdeh@dons.usfca.edu
Last edited Apr 29, 2025
Created on Apr 22, 2025

This D3.js bar chart visualizes the 2023 GDP per capita for the top 50 countries, using a green circle for each nation plotted along a categorical x-axis and a linear y-axis. Circles are positioned using `d3.scaleBand` and `d3.scaleLinear`, with interactive tooltips revealing the country name and GDP on hover. The SVG chart, built with `d3.svg` and `d3.axisBottom`/`d3.axisLeft`, reads data from the included `TopGDPCountries.csv` file, rotating x-axis labels for readability. Data originates from Worlddata.info.

AI-generated description
MIT Licensed

Similar vizzes