Example of how to create a pie chart with d3.js
Viewable on bl.ocks.net and jsfiddle
Next step is to use NVD3 (first rough draft on jsfiddle).
@TODO:
Split index.html
into separate files (js, css, json) to make clear how much work goes into which layer (definition, styling, logic).