table2chart – Mootools plugin which allows you to easily create a pie chart from valid data tables.
Simply add the script to the end of the body and it will convert all tables with a class ‘toChart’ to pie charts. You can define the chart size and the chart color within the class like:
class="toChart size700x300 color29b34f"
table2chart is a light-weight plugin, only 1Kb compressed and gzipped.