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 2. More Line Charts, Area Charts, and Scatter Plots

In the previous chapter, we reviewed the parts of a chart and began creating line charts. We manually created data arrays and passed them into our jqPlot objects. In this chapter, we'll learn how to import data from remote sources. We will discuss what area charts, stacked area charts, and scatter plots are. Then we will learn how to implement these newly learned charts. We will also learn about trend lines. The following list details the topics covered in this chapter:

  • Learn how to work with remote data sources

  • Fill the area between two lines to denote expenses

  • Learn about area charts and stacked area charts and how they differ

  • Create an area chart showing profits by division

  • Create a stacked area chart showing revenue by division

  • Learn what trend lines are and how to implement them

  • Discuss how scatterplot charts are different from line charts

  • Create a scatterplot looking for a correlation between shares on Twitter and e-commerce conversions...