Summary

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 ...

Get D3.js: Cutting-edge Data Visualization 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.