Insert a Pie Chart in a WordPress Post or Page with a Shortcode
Illustration: Soloyo, Flickr.

Use iLecture’s gCharts Plugin to insert Pie Charts into (individual) WordPress posts and pages.

In the example shown below, the Pie Chart (actually a Google Chart) was generated from a simple WordPress Shortcode:

Customizing colors

You just need to insert an additional column, 'Color':

There are three different ways to choose the colors:

  • RGB values: '#b87333'
  • English color names: 'silver'
  • CSS-like declaration: 'color: #e5e4e2'

Donuts are also on the menu

You can switch from a Pie Chart to a Donut Chart by setting the type attribute to "donut":