The basics of drawing data-driven arcs by using values to determine the arc length. Very stripped down to give beginners an idea of how to draw and color shapes using the accessor functions in D3. For transitions and tweens, check out Bostock's well-annotated example, or my second arc example.
Idea was used for my SF Muni webapp (gist).
al lin, aug. 2013
Modified http://cdnjs.cloudflare.com/ajax/libs/d3/3.2.2/d3.v3.min.js to a secure url
https://cdnjs.cloudflare.com/ajax/libs/d3/3.2.2/d3.v3.min.js