The stock explorer application

In this section, we will use D3 and Backbone to create a single page application to display a time series of stock prices. The user will be able to select different stocks and a period of time in order to get a detail view. The page will have several components:

  • Context chart: This chart will display the complete series of prices that are available for the stock. It will have a brush component that selects a time interval.
  • Detail chart: This will be a bigger area chart that will show you the stock prices for the time interval selected in the context chart.
  • Control view: This view will show you a control that selects the stock.
  • Stock title: This will display the name of the company.

We will display the control and title ...

Get D3.js: Cutting-edge Data Visualization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.