{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Visualise the total number of newspaper articles in Trove by year and state\n", "\n", "Trove currently includes more 200 million digitised newspaper articles published between 1803 and 2015. In this notebook we explore how those newspaper articles are distributed over time, and by state.\n", "\n", "1. [Setting things up](#1.-Setting-things-up)\n", "2. [Show the total number of articles per year](#2.-Show-the-total-number-of-articles-per-year)\n", "3. [Show the number of newspaper articles by state](#3.-Show-the-number-of-newspaper-articles-by-state)\n", "4. [Show the number of articles by state and year](#4.-Show-the-number-of-articles-by-state-and-year)\n", "5. [Combine everything and make it interactive!](#5.-Combine-everything-and-make-it-interactive!)\n", "6. [Further reading](#6.-Further-reading)\n", "\n", "If you want to skip to the final visualisation without running any of the notebook code, here's [an HTML version to play with](https://glam-workbench.github.io/examples/trove-newspaper-articles-by-state-and-year.html). But come back here to find out how to DIY!" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
If you haven't used one of these notebooks before, they're basically web pages in which you can write, edit, and run live code. They're meant to encourage experimentation, so don't feel nervous. Just try running a few cells and see what happens!
\n", "\n", "\n", " Some tips:\n", "
Is this thing on? If you can't edit or run any of the code cells, you might be viewing a static (read only) version of this notebook. Click here to load a live version running on Binder.
\n", "\n", " | term | \n", "total_results | \n", "
---|---|---|
0 | \n", "1803 | \n", "526 | \n", "
1 | \n", "1804 | \n", "619 | \n", "
2 | \n", "1805 | \n", "430 | \n", "
3 | \n", "1806 | \n", "367 | \n", "
4 | \n", "1807 | \n", "134 | \n", "
\n", " | state | \n", "total_results | \n", "
---|---|---|
0 | \n", "New South Wales | \n", "82646819 | \n", "
1 | \n", "Queensland | \n", "41089936 | \n", "
2 | \n", "Victoria | \n", "40052916 | \n", "
3 | \n", "Western Australia | \n", "24596770 | \n", "
4 | \n", "South Australia | \n", "24562882 | \n", "
5 | \n", "Tasmania | \n", "15706736 | \n", "
6 | \n", "ACT | \n", "3296997 | \n", "
7 | \n", "International | \n", "851152 | \n", "
8 | \n", "National | \n", "452926 | \n", "
9 | \n", "Northern Territory | \n", "409433 | \n", "