← Back to patterns
Composition
Treemap
Nested rectangles sized by value for hierarchical data.
Best For
Hierarchical composition with size encoding.
Live Demo
Live demo not yet available for this pattern
Usage
import { Treemap } from 'dolex/react';
<Treemap spec={spec} width={800} height={500} />