Skip to content

CirclePacking

beta

D3-powered circle packing chart for hierarchical allocation — portfolio → fund → position drill-down, budget decomposition, counterparty exposure tiers

import { CirclePacking } from "@danagraph/design-system/finance"
Loading demo…

Props

data
Type PackNodeDefault —

Hierarchical data tree with name/value/children

width
Type numberDefault —

SVG width in px (default 480)

height
Type numberDefault —

SVG height in px (default 480)

showLabels
Type booleanDefault —

Show text labels inside circles (default true)

title
Type stringDefault —

Accessible chart title

semantictypeborderviz
MobileStacks / Scroll

Circle packing requires min 300px for nested circle labels. Labels are hidden for circles smaller than 18px radius.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?