Skip to main content
100%

Bubble Chart GDP by Country

✓ Published0🌍 Public
663anp3ca
Last edited Sep 20, 2018
Created on Sep 20, 2018

This bubble chart visualizes GDP by country for 2016, using circle size to represent GDP value and color to indicate geographic region. The data comes from a World Bank CSV file loaded via `d3.csv`. The visualization is rendered using the `d3.pack` layout, which positions bubbles within the SVG canvas, with a tooltip displaying country names and formatted GDP values on hover. The code also uses `d3.hierarchy` with a `sum` accessor to calculate bubble areas, and `d3.scaleOrdinal` with `d3.schemeSet3` for region-based coloring.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes