What the charts drawn as nested boxes share: the tree a chart’s rows make, the part of it in view, its groups and tiles laid out by d3-hierarchy’s squarify with room for each group’s header, where a box comes from and goes to when the view zooms in or out, and whether a label fits its box; the same tree packed as nested circles by d3-hierarchy’s pack, the one move that zooms the packing to a part, the circle under the pointer, and whether a label fits a circle; and the same tree laid round a turn by d3-hierarchy’s partition, as rings from the part in view, with where each arc comes from and goes to. The Treemap, Circle packing and Sunburst charts draw on it.
pnpm dlx shadcn@latest add "https://kinoui.com/r/chart-tiles.json"