svg-treemap

0.0.2 • Public • Published

SVG From Treemap

Usage:

import svgTreemap from 'svg-treemap';

let input = {
    data: [1, 1, 3, 5],
    labels: ["Apples", "Pears", "Oranges", "Peaches"]
};
let width = 800;
left height = 400;

let svg = svgTreemap(input, width, height);

Example Treemap

Readme

Keywords

Package Sidebar

Install

npm i svg-treemap

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • brendanmoore