Interactive Data Portal
Interactive Data Portal
This tutorial will teach you how to take time-series data from many
field sites and create a shareable online map, where clicking on a field
location brings you to a page with interactive graphs. Part 1 covers
how to make interactive graphs in Google Data Studio.
How to cite:
Beganskas, S. (2020). Tutorial: How to use Google Data Studio and ArcGIS Online to create an
1 interactive data portal, HydroShare, DOI: 10.4211/hs.9edae0ef99224e0b85303c6d45797d56
What you need to get started
Download the example dataset for this tutorial at
https://tinyurl.com/yxct25p7 or by clicking the button below:
The example dataset includes minimum and maximum daily air and stream
temperatures from four creeks in southeastern Oregon, adapted from a
USGS data release: https://doi.org/10.5066/P924MOCB
This tutorial can be completed with the example dataset or with your
own data. If you are using the example data, download the files and
2 save them locally on your computer.
What you need to get started
2. A Google account
3
Step 1: Organize data in Google Sheets
Click here
4
Step 1: Organize data in Google Sheets
Important notes:
• Only the first row can contain column headers.
• The y-value column header should be exactly as you
want the y-axis label on the plot to appear.
In the example to the right, the column header is
Temperature (°C), including the units.
Click here
9 You may need to agree to Google Data Studio’s terms of service.
Step 2: Create a data report and link the data
A data source
is required.
Click here
Select Google
Sheets.
10
Step 2: Create a data report and link the data
11
Step 2: Create a data report and link the data
12
Step 2: Create a data report and link the data
Whenever you
click on the chart
to select it,
a menu will
appear on the
right side of the
screen with two
tabs at the top,
DATA and STYLE.
15
Step 3: Insert a time series chart
In the DATA tab, find the Filter section near the bottom. You may need to use the
scroll wheel on your mouse (or two fingers on your trackpad) to reach it.
Click ADD A FILTER. In the Create Filter window, type the name of your first field site.
A series of drop-down menus will appear: select Include, then your site name
column header, then Equal to (=). Finally, type the name of the field site again
and click save. This creates a filter that selects only data from that field site.
16
Step 3: Insert a time series chart
Click on the chart to select it. On the right-hand menu, scroll back to
the top of the DATA tab and:
Ensure the date (x-value) column header is selected for Date
Range Dimension and Dimension.
Select the metric column header for Breakdown Dimension.
(this setting divides the data into multiple curves to plot)
The chart
should be
looking much
better now!
17
Step 4: Spruce up the chart!
Under metric, select Temperature (°C). Then click on the small square next to
that and select Max. These selections mean that it will calculate the maximum
temperature value displayed.
Use a filter to only consider water temperatures. Click ADD A FILTER and
create a filter called Water, only including data for which the metric field
contains the term Water.
Don’t forget to add the Mine Creek (site name) filter as well.
21
Step 4: Spruce up the chart!
Under metric, select Temperature (°C). Then click on the small square next to
that and select Avg. These selections mean that it will calculate the average
temperature value displayed.
Use a filter to only consider daily maximum air temperatures. Click ADD A
FILTER and create a filter called Max Air Temp, only including data for which
the metric field equals Max Air Temp.
Don’t forget to add the Mine Creek (site name) filter as well.
22
Step 4: Spruce up the chart!
24
Step 4: Spruce up the chart!
1. Control the size of the page under the LAYOUT tab (visible on
the right of the screen when nothing is selected).
If you want to use the same formatting and design for multiple sites, you can make a
copy of this Data Studio report.
27
Step 5: Copy the Data Studio report for each site
3. For all dynamic statistics and other chart elements, change the filter from the old
site to the new site as necessary.
4. Update any text / images / links that need to be relevant to the new site.
For each Data Studio report you created: 3. Click Copy and then Save.
If you do not click Save, the sharing
1. Click Share in
settings will not take effect.
the upper right.
This tutorial just covers the basics! Google Data Studio has
many additional capabilities, and there are resources available
online for how to use specific tools not covered here.
This project is led by Temple University and funded by the William Penn Foundation.
34