https://github.com/redsift/d3-rs-circlepack
https://github.com/redsift/d3-rs-circlepack
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redsift/d3-rs-circlepack
- Owner: redsift
- License: mit
- Created: 2018-06-22T15:23:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T14:57:00.000Z (about 2 years ago)
- Last Synced: 2025-02-11T09:47:12.520Z (over 1 year ago)
- Language: HTML
- Size: 1.95 MB
- Stars: 0
- Watchers: 18
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# d3-rs-circlepack
[](https://circleci.com/gh/redsift/d3-rs-circlepack)
[](https://www.npmjs.com/package/@redsift/d3-rs-circlepack)
[](https://raw.githubusercontent.com/redsift/d3-rs-circlepack/master/LICENSE)
`d3-rs-circlepack` generate a circlepack flow via the D3 reusable chart convention.
## Example
[View @redsift/d3-rs-√ on Codepen](http://codepen.io/collection/DgkEpa/)
## Usage
### Browser
var chart = d3_rs_tree.html();
d3.select('body').datum([ 1, 2, 3, 10, 100 ]).call(chart);
### 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();
...