Nivo tree graph, supporting dendograms as well.
While it's part of the nivo internals, and not formally documented,
you should be able to use the useTree hook directly in order to build
a fully custom graph, this hook takes a config object which
is very close to the component's props.
The hierarchical data object.
'id'The key or function to use to retrieve nodes identity.
'dendogram'Type of tree diagram.
'top-to-bottom'Defines the diagram layout.
Chart width for non-responsive component.
Chart default width for responsive component.
Chart height for non-responsive component.
Chart default height for responsive component.
Debounce width/height updates for responsive component.
A callback for when responsive component is resized.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.