0.0.1 • Published 3 years ago

@lgensinger/visualization v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ES6 d3.js Visualizations

Environment Variables

The following values can be set via environment or passed into the class for a given visualization.

VisualizationNameTypeDescription
PackedCirclesDIMENSION_HEIGHTintegerheight of artboard
DIMENSION_WIDTHintegerwidth of artboard
LAYOUT_PADDING_CIRCLESintegerspace between circles
PARSE_DELIMETERstringseparator 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