Book Image

Mastering D3.js

By : Pablo Navarro Castillo, Pablo Navarro Castillo
Book Image

Mastering D3.js

By: Pablo Navarro Castillo, Pablo Navarro Castillo

Overview of this book

Table of Contents (19 chapters)
Mastering D3.js
About the Author
About the Reviewers


In this chapter, you learned how to create a single page application that integrates D3 and Backbone. We used the reusable chart pattern and embedded the charts in Backbone Views, allowing us to enjoy the structure of Backbone and keep all the visualization components synchronized.

We created the stock explorer application. This application allows the user to choose and explore the time series of stock prices, allowing the user to select the stock and a time interval in order to have a detail view of the price variations in that period. We used Backbone to store the visualization state and the views in sync.

We used a router to connect the visualization state with the URL, allowing us to share, bookmark, and navigate through visited application states.

In the next chapter, you will learn how to create a charting package, which will contain a layout and a reusable chart. We will also learn how to configure it to make it easier to distribute, install, upgrade, and manage its dependencies...