Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tidied up Bubble Chart

Public visualization

More options

Embed on a websiteCopy iframe embed code

Embedding does not grant access to private visualizations or project datasets.

Download & exportHTML, source ZIP and authorized project data
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Tidied up Bubble Chart

0 stars5🌍 Public
Hhquazza@gmail.com
Last edited Feb 3, 2025
Created on Jan 30, 2025

This bubble chart visualizes sales records by country, with circle size encoding total profit and color mapping regions. The tidy, evenly spaced layout derives from a D3 hierarchy and pack layout (d3.pack), which positions the data points without overlap. Each circle displays its country name as a label. The visualization loads its data from a CSV file using d3.csv and renders as SVG. Interactive tooltips appear on hover, displaying the country and profit values via D3 event handlers and HTML tooltip elements.

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;

Comments

Sign in to join the discussion.

MIT Licensed