O'Reilly logo

Learning jqPlot by Scott Gottreu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Limitations of pie charts

We come to work on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required