CHAPTER 7

image

Creating a Library for Simple Charts

As a conclusion to this first part of the book,  you will use everything you have learned so far to create a library of your own from scratch. This will be a library specialized in representing the three different types of charts that you have seen so far: line, bar, and pie charts.

What you will be developing is a very simplified model of the JavaScript libraries currently available on the Internet. The purpose is to help you understand the mechanisms that underlie such specialized libraries for chart representation.

By including all the steps in this simple example, you can better see how this ...

Get Beginning JavaScript Charts: With jqPlot, d3, and Highcharts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.