Over the past few months I’ve been trying to learn D3.js, the extremely powerful Javascript visualisation library. As a relative newcomer to Javascript (some background in PHP) D3.js has been a challenge. I first started trying to learn D3.js in April 2014 but gave up after some false starts and frustrations. Then earlier this year I tried again, after having spent some time working with Javascript.

In late November and early December we had a project at work that probably could have been done with far less effort using something like Tableau Public or one of the other popular data visualisation tools but I decided to give it a go using pure D3. The result is not perfect but it did the basic job, I think. We originally published this on IOL.