0.0.1 • Published 3 years ago
@lgensinger/visualization v0.0.1
ES6 d3.js Visualizations
Environment Variables
The following values can be set via environment or passed into the class for a given visualization.
Visualization | Name | Type | Description |
---|---|---|---|
PackedCircles | DIMENSION_HEIGHT | integer | height of artboard |
DIMENSION_WIDTH | integer | width of artboard | |
LAYOUT_PADDING_CIRCLES | integer | space between circles | |
PARSE_DELIMETER | string | separator on source data hierarchy path value |
Install
# install package
npm install @lgensinger/visualization
PackedCircles
Data Format
The following values are the expected input data structure for a given visualization.
Quickstart
// initialize
const pc = new PackedCircles(data);
// render visualization
pc.render(document.body);
0.0.1
3 years ago