d3.js Making Robust, Responsive and Reusable (r3) for d3 Box and Whisker Chart


To show the value of making generalized functions like those in the previous example (make_title, make_axes, make_buttons, etc), consider this box and whisker chart: https://bl.ocks.org/SumNeuron/262e37e2f932cf4b693f241c52a410ff

While the code for making the boxes and whiskers is more intensive than just placing the points, we see that the same functions work perfectly.