block by micahstubbs 367748258a75633bfd00fe8db163b3e4

es2015 exploding boxplot

Full Screen

a es2015 d3 v3 fork of the bl.ock reusable updating exploding boxplot from @tennisvisuals


Original README.md


reusable updating exploding boxplot

Design based on original: mcaule

See this block in production with Live Data

Features:

var container = d3.select('body');
var xbp = explodingBoxplot();
xbp.options({
  data: {
    group: 'Set Score',
    color_index: 'Set Score',
    identifier: 'h2h'
  },
  axes: {
    x: { label: 'Set Score' },
    y: { label: 'Total Points' }
  }
});
xbp.data(data);
container.call(xbp);
xbp.update();

Change the dimension for y axis:

xbp.options( { axes: { y: { label: 'Total Shots' } } });
xbp.update();

Data for this example was generated by mcpParse

Accessors:

by default accessors with no parameters return current values

operations on data held in chart instance

index.html

d3-tip.js

explodingBoxplot.css

pDxbp.js