Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A PieChart renders information in a typical pie structure, where the sizes of the slices are proportional to the values of the data. Before diving into the details, we show a small application that renders a PieChart.
Our example shows the “market share” of a number of programming languages, based on the TIOBE index in December 2011. The TIOBE Programming Community Index is available at www.tiobe.com/index.php/content/paperinfo/tpci/index.html, and it provides an indication of the popularity of programming languages, based on search engine traffic. A screenshot of the ranking in December 2011 is shown in Figure 7-2.
Figure 7-2. Screenshot of the TIOBE index in December 2011, taken from www.tiobe.com/index.php/content/paperinfo/tpci/index.html