d3-rs-tree
generate a Reingold–Tilford tree via the D3 reusable chart convention.
View @redsift/d3-rs-tree on Codepen
<script src="//static.redsift.io/reusable/d3-rs-tree/latest/d3-rs-tree.umd-es2015.min.js"></script>
<script>
var chart = d3_rs_tree.html();
d3.select('body').datum([ 1, 2, 3, 10, 100 ]).call(chart);
</script>
import { html as chart } from "@redsift/d3-rs-tree";
let eml = chart();
...
var chart = require("@redsift/d3-rs-tree");
var eml = chart.html();
...