Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Circles pack

Public visualization

Viewing a saved revision (read-only)

2231f31fec834722ac89c32bb8bfa83f

Circles pack

1 star0🌍 Public
0007ebey
Last edited Aug 21, 2020
Created on Aug 20, 2020
Forked from Stylized Bar Chart

A circle packing diagram displays a hierarchical dataset of celebrities, grouped first by category (Bollywood or TV) and then by gender, with each celebrity represented as a circle sized by their sample value. The visualization uses a `d3.pack` layout on a React component, computing a hierarchy via `d3.hierarchy` and `d3.nest` from a CSV file. Leaf nodes render celebrity photos clipped by their circle boundaries, while branch circles scale with the aggregate values and respond to mouseover events with a stroke highlight. The color scale uses `d3.scaleSequential` with the `interpolateMagma` scheme.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.