## Use Table as DataSource

Top US Explorets (2012)
Product category | Billions, $
--- | ---
Machines | 215.2
Electronics | 162.1
Oil | 137.5
Vehicles | 132.9
Aircraft, spacecraft | 104.3
Other | 798

This sample shows how to create a pie chart using a table as the data source for the chart. It's as easy as creating a table with rows, headers, and tables and then setting the table's ID property to the ID of the wijpiechart widget.