This is the first step of my first attempt to learn canvas. I want to improve a piece a made a few weeks ago about the division of occupations. The d3.js version has so many DOM elements due to all the small bar charts that it is very slow. Therefore, I hope that a canvas version might improve things.
In this block I create a static circle pack layout that still uses a lot of D3 code, but eventually it is the canvas that draws it to the screen
I wrote a more extensive tutorial around what I learned while doing this project in my blog Learnings from a D3.js addict on starting with Canvas in which this can be seen as step 1. See the next version that has less D3 but less overall code as well
If you want to see the final result, with everything up and running in canvas look [here](http://www.visualcinnamon.com/occupation