Getter/setter for a node object label accessor, used to display labels on the blocks and their tooltips. Supports either a string indicating the object's property name, or a function(node) which should return an array of nodes. Getter/setter for a data node's children accessor, used to establish the hierarchical relationship between nodes. Getter/setter for the chart height in px. Getter/setter for chart data (see below for syntax details). Or const Treemap = require('treemap-chart') Quick start import Treemap from 'treemap-chart' See also the Circle Pack, Icicle and Sunburst charts. See here for an example of a randomly generated large data structure. The chart also responds to data changes by animating the dimensions of each of the nodes into their new positions.įor improved performance, nodes with area ( width* height) smaller than a given threshold ( minBlockArea) are excluded from the DOM, allowing for representation of large data sets while maintaining a smooth interaction. Supports zooming interactions via mouse-wheel events or by clicking on a node, which focuses the viewport on the associated sub-tree. An interactive treemap chart for visualizing proportions in hierarchical data, where nodes of a tree are represented as nested fully-packed rectangular tiles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |