This example is code originally written by Mike Bostock in 2012 as part of his tutorial Towards Reusable Charts. Curran put together a bl.ock Towards Reusable Charts Example based on the post which I forked from to create this bl.ock and learn more about re-usable charts and a step forward to write Ladybug for web.
Here are some learning resources related to this example from Curran's bl.ock:
forked from mostaphaRoudsari's block: Reusable Area Chart: Ladybug group interactions
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js