Building a Survey Reporting Dashboard
Google Analytics includes a number of tools that allow individuals and teams to capture and analyze different types of data. These tools are especially valuable when it comes to survey-based user research.
This guide will walk through the integration of Google Forms, Google Sheets, and Google Data Studio in order to visualize a set of user survey data.
The example described includes connecting a Google Form to Google Sheets, cleaning a set of data within a Worksheet, and finally, building a data report in Google Data Studio.
For more detailed guidance, please see Additional Resources.
Link Google Form to Google Sheets
Link your survey results to a designated Google Sheets workbook
Select Response Destination
Click the vertical ellipsis located at the top right of the survey form
Clean Data in Google Sheets
Clean the data exported by your Google Form to enable proper manipulation in Google Data Studio
Format Spreadsheet
Once you have set the response destination for your Google Form to your desired Google Sheets File, your data will be visible in a new worksheet.
(1) Choose a short, yet descriptive title for your worksheet. If your spreadsheet contains multiple worksheets, move the new tab to the desired location by dragging and dropping using the tab selector.
(2) Format the first row of data. Select the first row, then go to Format -> Text Wrapping -> Wrap.
(3) Select the first row and set the font to bold. Add a background color to further set the column titles off from the rows of data below.
CREATE NEW COLUMNS
Depending on the way your data is structured within a particular column, you will need to insert columns in order to clean your data for processing.
In most cases, where data is formatted as a list within a cell, this can be accomplished through the insertion of 2 new columns to the right of your target column data.
(1) Select the target column (‘G’). As a shortcut, select the column that immediately precedes as well (‘F’).
(2) In the Go to the Insert menu -> choose ‘2 Columns right.’
TITLE NEW COLUMNS
Once you have created your new columns to clean your data, title the new columns the same title as your target column with an appendage, such as “- 1” and “- 2”. This will distinguish your new columns from your target column
TRANSPOSE ROW DATA
To create a chart, whether directly in Google Sheets, or by using a data visualization tool like Google Data Studio, we must have a 1:1 relationship between the data in a particular cell and its dimension (column name). By default, survey questions of the “check all that apply” variety produce data arrays that violate this principle.
We use the TRANSPOSE() function with the SPLIT() and JOIN() functions to achieve this outcome. In our example, we enter the formula =TRANSPOSE((SPLIT(JOIN(“,”, G2:G995), “,”))) in cell H2.
How did we choose G995 as the endpoint of our range? The parameter requires a defined end point; therefore, we arbitrarily choose a cell value beyond which we are certain no future values will be recorded.
TRIM DATA
Once we have transposed our data, we must remove any leading or trailing spaces found in every string. We can accomplish this by using the TRIM() function coupled with the ARRAYFORMULA() function.
In our example, we enter =ARRAYFORMULA(TRIM(H2:H)) in cell I2. Why do we use “H” as the endpoint of our range? In this case, the TRIM() permits us to use an undefined endpoint.
Build Report in Google Data Studio
Build a report in Google Data Studio using your data in Google Sheets
Choose Report
Once you are logged into Google Data Studio, create a Blank Report, or choose an existing report
Add New Page(Optional)
Within your report, you have the option of building multiple pages. Use this approach when you wish to break up the number of charts you display per page, or if you choose to organize your data in a specific way.
(1) Click on the Page dropdown at the far left of the menu bar, then click ‘Add a new page’.
(2) Hovering over the new page added within the dropdown menu, you will see a vertical ellipsis. Click the vertical ellipsis and select Rename. Choose a short, yet descriptive name for your new page.
Add Data
In order to create charts in Google Data Studio, you will need to connect your report to a data source. Data Studio accomplishes this using Connectors. At the time of this writing, Data Studio offers 16 connectors to tools within the Google ecosystem, along with 204 partner connectors.
A few examples of connectors you may find useful include Google Sheets, Google Analytics, PostgreSQL, Facebook Page, and Twitter Analytics.
(1) Select ‘Add data’ from the menu bar.
(2) Choose your desired Connector from the ‘Connect to data’ window that opens. In our example, we use Google Sheets.
Select Worksheet
When using Google Sheets, Google Data Studio builds charts at the spreadsheet level.
(1) Select your Spreadsheet, the corresponding Worksheet, and checkmark the desired formatting options.
(2) Click the ‘Add’ button in the bottom right.
Add Chart
Google Data Studio provides numerous ways to visualize data, from tables to bar graphs, pie charts to trendlines, and scatter plots to pivot tables. Choose the chart that will best represent the data you select.
Customize Chart
By default, Google Data Studio will arbitrarily choose a Dimension for a newly added chart.
Select the appropriate dimension for your chart. In Google Data Studio, dimension refers to a selected column title in your Worksheet.
(1) Click on the Dimension field. You will see a ‘Default group’ along with a search bar. Type your desired column name in the search bar.
(2) Choose your Dimension. If you have cleaned your data, all column names that share this dimension name will show. Choose the dimension that refers to the farthest right new column that you created, or the one whose title appendage has the highest numerical value.
(3) Choose your Metric. Google Data Studio will often default to ‘Record Count.’ In some cases, this may not be what you want. Once you have chosen your desired metric, appropriately select ‘Count’ or ‘Count Distinct.’ In most cases, you will want to select ‘Count.’ Make this selection by clicking on the ‘CTD’ or ‘CT’ label just to the left of your metric variable.
Filter Null Values
You may find (more often than not) null values that have been incorporated into your chart. You will need to create a filter to remove them.
(1) Choose ‘ADD A FILTER’ from the properties panel.
(2) Select ‘CREATE A FILTER’ from the ‘Filter picker.’
(3) Copy and paste the name of the column for your cleaned data. In our example this is “Which projects most interest you? (check all that apply) - 2”
(4) From the drop downs, choose ‘Exclude’ and ‘Is Null.’
(5) Select Save.
Style Chart
The graphical components of an added chart can be customized across several different attributes. View the style pane within the properties panel and make your desired selections.
Adding a gradient
If you wish to introduce a gradient to a single color bar graph, you will need to take one additional step in the Data pane.
(1) Select ‘Add Dimension’ under Breakdown Dimension. Select the exact same dimension as you have chosen.
(2) Return to the Style pane. Within the ‘Color by’ section, choose a color that will best represent your data.
Additional Resources
For more detailed exploration of Google Forms, Google Sheets, and Google Data Studio, please see the resources below.
Google Forms
Google Sheets
Google Sheets Training and Help
Google Data Studio