My attempt at creating a library of reusable d3 charts