Skip to main content
Public

Share visualization

Loading preview…

Bubble Chart - Clustered

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Bubble Chart - Clustered

0 stars2Public
Hhquazza@gmail.com
Last edited Jan 28, 2025
Created on Jan 28, 2025

Four clusters of proportional circles, each labeled with a group letter (A–D), fill the entire SVG canvas without overlapping. The bubble sizes correspond to each group’s `percentResponse` value, while the cluster layout is computed using `d3.pack()` on a `d3.hierarchy()` root. Rendered with `d3.v7` in a React framework, the circles and labels are appended as SVG elements with `d3.select` and `join()`. The data source is hardcoded dummy data, with no axes or tooltips.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed