Book Image

Learning jqPlot

By : Scott Gottreu
Book Image

Learning jqPlot

By: Scott Gottreu

Overview of this book

Table of Contents (19 chapters)
Learning jqPlot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Pie Charts and Donut Charts

In this chapter, we will learn about the proper contexts for using pie and donut charts. We will also look at some of the limitations and critiques of these charts. Also, we will discuss the different ways to parse and collate the data we get from our remote feeds. In addition, we will cover the following topics:

  • Creating a basic pie chart and sorting the data points in descending order

  • Modifying the styles and options to make it more readable and usable

  • Building a pie chart with empty wedges

  • Constructing pie charts and moving the labels further from the center

  • Designing a donut chart showing browser usage and sorting each segment in the inner ring in descending order