d3-bee

0.0.4 • Public • Published

d3-bee

A simple bee-swarm plot

Install

npm i d3-bee

Usage

import {bee} from 'd3-bee'

Assumptions

It is assumed that the data bound to bee is an object, where key corresponds to a "bee" in the swarm

data = {
  'A': 10,
  'B': 20,
  ...
}

more complex data can be provided should utility functions such as valueExtractor be overwritten from their default behavior:

data = {
  A: {
    x: { value: 1 },
    y: { value: 2 },
    ...
  },
  ...
}

Readme

Keywords

none

Package Sidebar

Install

npm i d3-bee

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

32.1 kB

Total Files

9

Last publish

Collaborators

  • sumneuron