Weighted Tree

Home / Demo / Weighted Tree
Weighted Tree

Renderer: SVG

Module: vizart-hierarchy

Data: D3-Selection API Structure

Doc: API

import { weightedTree } from 'vizart-hierarchy';
import 'vizart-hierarchy/dist/vizart-hierarchy.css';

d3.json("./data/flare.json", (data)=> {
	const chart = weightedTree('#chart', {
		chart: {
			margin: {
				top: 40,
				bottom: 40,
				left: 0,
				right: 0
			},
		},
	});

	chart.render(json);
});