Package Exports
- @redsift/d3-rs-circlepack
- @redsift/d3-rs-circlepack/distribution/d3-rs-circlepack.umd-es2015.js
- @redsift/d3-rs-circlepack/distribution/d3-rs-circlepack.umd-es2015.min.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@redsift/d3-rs-circlepack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
d3-rs-circlepack
d3-rs-circlepack
generate a circlepack flow via the D3 reusable chart convention.
Example
View @redsift/d3-rs-√ on Codepen
Usage
Browser
<script src="//static.redsift.io/reusable/d3-rs-circlepack/latest/d3-rs-circlepack.umd-es2015.min.js"></script>
<script>
var chart = d3_rs_tree.html();
d3.select('body').datum([ 1, 2, 3, 10, 100 ]).call(chart);
</script>
ES6
import { html as chart } from "@redsift/d3-rs-circlepack";
let eml = chart();
...
Require
var chart = require("@redsift/d3-rs-circlepack");
var eml = chart.html();
...