Skip to content

brendanmoore/svg-treemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG From Treemap

Usage:

import svgTreemap from 'svg-treemap';

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

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

Example Treemap

About

SVG from generated Treemap

Resources

License

Stars

Watchers

Forks

Packages

No packages published