Skip to main content
100%

Bubble Chart - Clustered with Saving

✓ Published0🌍 Public
GGabriel Ing
Last edited Jan 29, 2025
Created on Jan 28, 2025

A clustered bubble chart displays the price of Big Macs in US dollars across various countries, using the d3.pack() layout to group the data points. Each circle represents a country, with its area proportional to the price, and labels overlaid in white text. Hovering over a circle triggers a tooltip showing the country name. The visualization loads data from a CSV file using d3.csv and renders as an SVG with basic animation, and a button allows downloading the chart as an SVG file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes