data visualization- introduction to tableau public€¦ · » introduction to data visualizations...

48
Introduction to Data Visualization- Tableau Public Workshop 3

Upload: others

Post on 17-Jun-2020

27 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Introduction to Data Visualization- Tableau PublicWorkshop 3

Page 2: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

The Data Skills Census Workshops were organized and designed by the Washington Technology Industry Association (WTIA) to support Census 2020 outreach efforts. We are a trade association that combines the power of member companies to solve problems they cannot easily solve alone. Our mission is to build a strong technology sector in a thriving community

Page 3: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Set up your laptop

3

» Download Tableau Public on your laptop: ▪ Google “tableau public” OR ▪ Go to this link → https://public.tableau.com/en-us/s/

» Download data file on your laptop:▪ Go to https://bit.ly/2SsDYqN and download an excel file ‘King

County_Poverty_15-18’

Page 4: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Agenda

4

» Overview» Participant Introductions» Introduction to data visualizations» Tell Your Stories with Data» Exercise 1» Introduction to Tableau Public» Exercise 2» Q&A» Closing

Page 5: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Data Visualization

5

» Refers to showcasing data, numbers, and statistics through images and charts.

» When you display data visually, you’ll be able to more easily tease out meaningful patterns from a set of otherwise indecipherable numbers, and it makes it easier to draw conclusions and make informed decisions. ▪ pairing text with images improves comprehension by 89% (Source:

Dr. Ruth Colvin Clark and Dr. Richard E. Mayer. E-Learning and the Science of Instruction. via Google Books. http://bit.ly/RichardMayer)

Page 6: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 7: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 8: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 9: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 10: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Tableau Public & Census» Census Tableau page

(https://public.tableau.com/profile/us.census.bureau#!/)

Page 11: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

11https://public.tableau.com/profile/us.census.bureau#!/vizhome/BreweriesintheUnitedStates/StateDashboard

Page 12: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

What story do you want to tell?

12

» Story▪ What question are you trying to answer, or issue are you

trying to solve? How can you read your data?

» Audience/Viewers▪ Who are you talking to exactly?

» Data▪ What kind of data is important to you?

Page 13: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Exercise 1 Tell Your Stories with Data

» Go to data.census.gov and find poverty data in King County, Washington. Think about what story you want to tell using the poverty data and write down your answers below.

» Story (What question are you trying to answer, or issue are you trying to solve?):

» Goals & Impact:» Audience (Who will read this visualization):» Data (What data do you want to use?):

Page 14: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 15: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 16: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 17: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 18: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Choose ‘Geography > County > Washington > King County, Washington’

Page 19: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 20: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Useful Tips» You can start with a story, or you can also start from data » Decide how you want to present the data whether it is charts,

graphs, infographics, etc.

» Be creative! Think about combining different data sets for interesting stories

» You can use past, present and future stories with data and predict future trends or show past and present trends.

» Don’t turn it into an art project- don’t lose sight of the information and analytics. Simple visualizations can have the biggest impact on your audience

Page 21: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Introduction to Tableau Public

Page 22: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Tableau Public» Tableau Public is a free interactive data visualization service that

lets anyone publish interactive data visualizations to the web.

» Visualizations that have been published to Tableau Public (“vizzes”) can be embedded into web pages and blogs, they can be shared via social media or email, and they can be made available for download to other users.

» It does not allow you to save your workbooks locally

Page 23: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Useful Tableau Terms

23

» Dashboard: A collection of views shown in a single location where you can compare and monitor a variety of data simultaneously.

» Data Source: The underlying data that Tableau Tableau is connected to. You can’t change the data source in Tableau Reader.

» Filter: A control on a view that limits the data shown in a view. For example, a filter on Region that only includes the West.

» Repository: A folder located in your My Documents folder that stores workbooks.» Workbook: A collection of one or more worksheets and dashboards.» Worksheet: A single view of data. Each worksheet can be connected to a single

data source.

Page 24: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Upload on Tableau Public

24

» Have your data ready» Connect your data to Tableau» Create sheets and dashboards» Publish to the web

▪ https://public.tableau.com/en-us/s/resources?video=pJQ1ZeJaGvc

Page 25: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 26: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Data Source: The underlying data that Tableau is connected to.

Marks: A visual representation of one or more rows in a data source. Mark types can be bar, line, square, and so on.

Filter: A control on a view that limits the data shown in a view. For example, a filter on Region that only includes the West.

Sheet: A single view of data. Each worksheet can be connected to a single data source.

Workbook: A collection of one or more worksheets and dashboards.

Page 27: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

» Worksheet: A single view of data. Each worksheet can be connected to a single data source.

» Dimensions: fields that are used to slice and describe data records (e.g. names, dates, IDs, geographical info)

» Measures: the value fields of those records that will be aggregated (summed, averaged, etc) to arrive at some final result., Measures

» Columns, Rows

Page 28: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Cleaning Exported Census Data

» King County poverty data from Data.census.gov

Page 29: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Cleaning Your Data» The process of detecting and correcting (or removing) corrupt or

inaccurate records from a record set, table, or database and refers to identifying incomplete, incorrect, inaccurate or irrelevant parts of the data and then replacing, modifying, or deleting the dirty or coarse data.

Page 30: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 31: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Census data (csv) is now connected.

● Data Source: The underlying data that Tableau REader is connected to. You can’t change the data source in Tableau Reader.

Page 32: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Using Tableau Data Interpreter

» Use Tableau data interpreter (https://help.tableau.com/current/pro/desktop/en-us/data_interpreter.htm)

▪ Data Interpreter can give you a head start when cleaning your data. It can detect things like titles, notes, footers, empty cells, and so on and bypass them to identify the actual fields and values in your data set.

▪ It can even detect additional tables and sub-tables so that you can work with a subset of your data independently of the other data.

▪ After Data Interpreter has done its magic, you can check its work to make sure it captured the data that you wanted and identified it correctly. Then, you can make any necessary adjustments.

▪ After you select the data that you want to work with, you might also need to do some additional cleaning steps like pivoting your data, splitting fields, or adding filters to get the data in the shape you want before starting your analysis.

Page 33: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Check cleaned with Data Interpreter > Click Review the results

Page 34: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

A copy of your data source opens in Excel on the Key for the Data Interpreter tab. Review the key to find out how to read the results.

Page 35: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

» Click each tab to review how Data Interpreter interpreted the data source.▪ If Data Interpreter found additional

tables, also called found tables or sub-tables, they are identified in the <sheet name>_subtables tab by outlining their cell ranges. A separate tab is also included for each sub-table, color coded to identify the header and data rows.

▪ If Data Interpreter does not provide the expected results, clear the Cleaned with Data Interpreter check box to use the original data source.

»

Page 36: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Exercise 2.1 Retrieving and cleaning data

» (If you haven’t downloaded the data) Download Census data ‘King County_Poverty_15-18’ at: https://bit.ly/2SsDYqN

» Step 1_ Retrieve data: In the poverty data, find 2014 data and add them to the original data set: Retrieve and add 2014 Poverty status in King County, Washington data by AGE, SEX, RACE AND HISPANIC OR LATINO ORIGIN from data.census.gov to the ‘King County_Poverty_15-18’ file.

» Step 2_Prepare/Clean the data set: Format the 2014 data as 2015-2018 data are formatted in the file.

▪ Delete blank rows and move cells around to put data in the right cell.

▪ Don’t forget to enter 2014 in Column G (Year).

» Step 3_Save the data set: Once you are done with cleaning the data, save the excel file as ‘King County_Poverty_14-18’

Page 37: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Exercise 2.2 Creating Tableau Visualizations 1

» Connect the excel file to your Tableau Public

» Create a bar chart of the population living below the poverty line in King County, WA and use AGE to see the difference between AGE groups

» Rename the Title ‘The population living below the poverty line in King County, WA’

Page 38: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 39: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 40: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 41: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 42: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Exercise 2.3 Creating Tableau Visualizations 2

» In a separate worksheet, create a bar chart and compare the total population living under the poverty level and add AGE breakdown for 2014, 2015, 2016, 2017, and 2018

» Rename the title ‘Total population living below the poverty line in King County by age group, WA’

» In a separate worksheet, create a line chart of the percentage below the poverty level in King County, WA using sex category to compare the percentage difference between 2014, 2015, 2016, 2017, and 2018

» Upload your work on your Tableau page

Page 43: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 44: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »
Page 45: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Tableau Desktop and Prep» Students/Teachers get 1-year free (https://www.tableau.com/academic/students):

▪ Students at accredited academic institutions worldwide are eligible for a free one-year license to activate Tableau Desktop and Tableau Prep. Complete the form to confirm your eligibility and unlock your free license. You must be 16 years of age or older to request a license.

Page 46: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Other ResourcesTableau Free Training Videos» https://www.tableau.com/learn/articles/best-data-visualization-blogs

Census Courses» https://www.census.gov/data/academy/courses.html

Page 47: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Any Questions?

Page 48: Data Visualization- Introduction to Tableau Public€¦ · » Introduction to data visualizations » Tell Your Stories with Data » Exercise 1 » Introduction to Tableau Public »

Next Steps

48

» Write down any questions you still have on note cards with your contact info and we’ll get them answered

» Fill out the survey» We will email you a copy of Workshop 1, 2, and 3 slides once cleaned

up» We will email you a unique code to access Data Story Academy’s online

courses for FREE (valued at $350)