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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.28latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.28
0.0.10

Package Sidebar

Install

npm i svg-treemap

Weekly Downloads

8

Version

0.0.2

License

MIT

Last publish

Collaborators

  • brendanmoore