block by TennisVisuals 1ad22a71d7eb71fc26f8

reusable updating exploding boxplot

Full Screen

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

LICENSE

License MIT

explodingBoxplot.css

pDxbp.js