Small steps towards cleaning up and shedding some light on the darkness that is d3js