Skip to main content
100%

Category clustered Bubble Chart

✓ Published1🌍 Public
Hhquazza@gmail.com
Last edited Feb 19, 2025
Created on Feb 4, 2025

This example shows a clustered bubble chart where circles are grouped by color-coded regions, with bubble size representing total cost and labels indicating country. The visualization uses D3.js v7 with a d3.pack layout to position circles within a hierarchical cluster structure, processing data from a CSV file loaded via d3.csv. SVG renders the circles and text labels, while a custom HTML tooltip displays country, region, and cost details on mouseover, with d3.scaleOrdinal mapping region values to a color palette.

AI-generated description

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

See also React Starter.

Added content = d3.csv (line 3)

Tooltip - create in html, add details in json See line 13 and line 44+ in js file;

MIT Licensed

Similar vizzes