Chapter 3. Working with Time Series Data

In the last chapter, we looked at four different types of graphs: pie, bar, scatter plot, and box plot. In this chapter we slow down a little and focus on building up a multi-line graph using historic weather data. The data is available from the Global Historical Climatology Network (GHCN) via NOAA (https://www.ncdc.noaa.gov/data-access/land-based-station-data/land-based-datasetsglobal-historical-climatology-network-ghcn).

The GHCN provides a rich set of data. There are weather stations around the world and readings going back as far as 1763. I chose a relatively small data file from 1836 for this chapter. In that year there were five stations reporting temperature.

Let’s see what that data looks like! ...

Get Data Visualization Toolkit: Using JavaScript, Rails™, and Postgres to Present Data and Geospatial Information 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.