Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Template Attempt #1 - Clustered 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.

Template Attempt #1 - Clustered Bubble Chart

0 stars1🌍 Public
Hhquazza@gmail.com
Last edited Feb 28, 2025
Created on Dec 9, 2024

This clustered bubble chart visualizes total and unit costs and total profit aggregated by region, with bubble size and opacity encoding the selected financial metric. Users can switch metrics via a dropdown menu, triggering a rebuild of the chart using D3 v7’s `d3.pack()` and `d3.hierarchy()` layout. Hovering reveals tooltips with exact values, while labels inside bubbles wrap using a custom text-wrapping function. The SVG renders with D3 selections, and data comes from a CSV of 100 sales records.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed