Skip to main content
100%

Bubble Chart

✓ Published0🌍 Public
HHugoberry
Last edited May 16, 2017
Created on May 16, 2017

This bubble chart visualizes the hierarchical Flare class structure, encoding each class as a circle whose area represents a numeric value. The graphic packs all leaves into a compact, non-overlapping layout, with colors distinguishing top-level package categories. The implementation uses D3 v4’s `d3.pack` layout on an SVG canvas, reading data from a CSV file via `d3.csv`. Each circle is drawn with an SVG `circle` element, and labels are added using `clipPath` and `tspan` elements to fit text within the bubble. The underlying data comes from the Flare visualization toolkit’s class hierarchy.

AI-generated description

Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4063269'>Bubble Chart</a>

gpl-3.0 Licensed

Similar vizzes