{"repo":"vasturiano/treemap-chart","free":true,"listed":false,"github":"https://github.com/vasturiano/treemap-chart","clone":"git clone https://github.com/vasturiano/treemap-chart.git","description":"A treemap interactive chart web component for visualizing hierarchical data","language":"JavaScript","stars":78,"topics":["treemap","chart","data-visualization","d3js","hierarchical-data"],"license":"MIT","category":"analytics","readme_excerpt":"treemap-chart ================== [![NPM package][npm-img]][npm-url] [![Build Size][build-size-img]][build-size-url] [![NPM Downloads][npm-downloads-img]][npm-downloads-url] An interactive treemap chart for visualizing proportions in hierarchical data, where nodes of a tree are represented as nested fully-packed rectangular tiles. Supports zooming interactions via mouse-wheel events or by clicking on a node, which focuses the viewport on the associated sub-tree. The chart also responds to data changes by animating the dimensions of each of the nodes into their new positions. For 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. See here for an example of a randomly generated large data structure. See also the Circle Pack, Icicle and Sunburst charts. Quick start or using a script tag then API reference Method Description Default --- --- :--: data ([ object ]) Getter/setter for chart data (see below for syntax details). width ([ number ]) Getter/setter for the chart width in px. &lt;window width&gt; height ([ number ]) Getter/setter for the chart height in px. &lt;window height&gt; children ([ string or fn ]) Getter/setter for a data node's children accessor, used to establish the hierarchical relationship between nodes. Supports either a string indicating the object's property name, or a function(node) which shoul","default_branch":null,"files":null,"tree":[],"storefront":"/r/vasturiano","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vasturiano/treemap-chart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}