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