Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Black & White Nested Circles

Public visualization

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
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.

Black & White Nested Circles

3 stars2🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on Jun 7, 2024
Forked from Portrait of React

This visualization displays the React source code as a circular treemap, with nested circles representing the file hierarchy. The circle packing layout is computed using D3's `pack` and `hierarchy` functions, and circles are colored based on file type or by depth using black and white. The code uses D3's `zoom` behavior for interactive pan and zoom, and a memoization function called `computed` optimizes rendering performance. File size influences circle opacity, while labels are added but curved labels are disabled for performance.

AI-generated description

A circle pack visualization of the React source code.

Order a canvas print of this graphic!

Data comes from Gist:File Loading Script.

Comments

Sign in to join the discussion.

MIT Licensed