Back to photostream

Pie chart template

To make the pie charts I took advantage of Inkscape's internal extensions to SVG, specifically with regard to the definition of arcs. I created a basic template pie chart with three wedges in Inkscape, saved it as an SVG, then opened it my text editor. I replaced the values that would change with strings that would be unique and easy to find and in a regular expression search. For example, I put "##EASB##" where the value would be "End A Start B".

 

More at developmentseed.org/blog/2010/jan/05/adding-pie-charts-ma....

1,894 views
1 fave
0 comments
Uploaded on January 5, 2010