1 contributor
Like
Install treemap as a package?
Copied
npm i @bit/recharts.recharts.treemap
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example 
modifieddraft
modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout


chevron_left
chevron_right
Properties
Name | Type | Default value |
---|---|---|
width | number | |
height | number | |
data | array | |
style | object | |
aspectRatio | number | 0.5 * (1 + Math.sqrt(5)) |
content | element | function | |
fill | string | |
stroke | string | |
className | string | |
nameKey | string | number | function | |
dataKey | string | number | function | 'value' |
children | node[] | node | |
type | 'flat' | 'nest' | 'flat' |
colorPanel | array | |
nestIndexContent | element | function | |
onMouseEnter | function | |
onMouseLeave | function | |
onClick | function | |
isAnimationActive | bool | !isSsr() |
isUpdateAnimationActive | bool | !isSsr() |
animationBegin | number | 0 |
animationDuration | number | 1500 |
animationEasing | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear' | 'linear' |