SlideShare a Scribd company logo
1 of 5
Download to read offline
Tableau Public tutorial
Before you start:
Download Tableau Public from: http://www.tableausoftware.com/public/download-steps
Create a Tableau Public account at: https://public.tableausoftware.com/auth/signup
Download the dataset from: http://www.peteraldhous.com/Data/USDA_activity_dataset.xls
The Data:
o Open USDA_activity_dataset.xls and examine the contents.
o The data details physical activity, obesity, and other health data in nearly 100 columns,
for more than 3000 rows, one for each county in the US.
Connect to the data:
o Drag and drop USDA_activity_dataset.xls on top of the Tableau Public icon on your
desktop to open.
o At the dialog box, click OK to connect.
o Tableau automatically recognizes categorical fields, like “State,” and numerical
measures like “Adult obesity rate.”
Create the first view (a map for each state showing obesity rates at the county level):
o Double click on “State” and “County.” Tableau Public recognizes they are geographical
fields and geocodes them accordingly.
o You may get a warning message; if so, check so that you don’t see it again.
o Notice there is a point at 0 degrees latitude and longitude. These are null values. Select
them by clicking to one side of the point, keep the mouse button depressed to draw a
rectangle over it, then release. Right click on the selected null values and select Exclude.
o Right click on the Exclusions in Filter and select Make Global, so that this will apply to all
subsequent views.
o Now you have a map showing a dot for every county where you have a record:
o Drag “Adult obesity rate” from the Measures panel into Color, and copy it into Size
shelf to encode counties by those values.
o Change the Color to Red–White-Green Diverging, and reverse it:
o Now add a filter to enable the selection of individual states. Click and drag “State” into
the Filters shelf, click OK at the dialog box.
o Right click on “State” in the Filters shelf and select Show Quick Filter. Deselect All and
then select Alabama.
o Rename the worksheet “Map View” by right clicking on the tab at the bottom.
o Finished state of first view:
Add a second view (scatter plots showing the relationship between obesity and health-related
behaviors at the county level):
o Add new worksheet:
o Drag “Adult obesity rate” onto Rows and “% smokers,” “% eating few fruits and
vegetables” and “% who do not exercise” into Columns.
o Drag “County” and “State” into Level of Detail. Without this step, Tableau’s default
behavior is to sum the values across all the counties and states, which will give you a
single data point for each graph, and not the desired scatter plots.
o The view should now look like this:
o Change Color to purple, open the Drop down menu next to “Automatic” and select
Circle, then move the slider below to the left to increase transparency of the points.
o Select Analysis in the top menu and check Trend Lines.
o Rename the worksheet “Scatterplot View” by right clicking on the tab at the bottom.
o Finished state of second view:
Create a Dashboard with both views:
o Add dashboard:
o Double click on each view to bring both out onto the dashboard. Right click on the State
filter, select Compact list.
o Right click on this filter again, and select Make Global. This will ensure that selecting a
state alters both views simultaneously.
o Right click on this filter for a third time, select Customize and uncheck Show “All” Value.
This prevents users from seeing the entire data for all the US.
o Right click on the titles of each view and select Hide Title.
o Rename the dashboard “Obesity by state and county” by right clicking on the tab at the
bottom.
o Double click on Title under Objects
o The dashboard should now look like this:
Save to the web:
o Under Size, click Edit and select the size and layout best for your website.
o Click File on the top menu and select Save to Web. You will be asked for your account login
at this point.
Embed on your website/blog:
o In the Save To Web Results window that has opened up, scroll down beneath the
visualization and click on Share.
o Copy and paste the embed code into the html of your web page.
o You should now have this online visualization:
http://www.peteraldhous.com/tableau_demo.html
o You can also download a PDF of this handout from:
http://www.peteraldhous.com/CAR/tableau_demo.pdf

More Related Content

What's hot

Lesson 6 Working With Cells
Lesson 6   Working With CellsLesson 6   Working With Cells
Lesson 6 Working With Cellsguevarra_2000
 
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDERCREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDERSagarDuttPhuloria
 
100 Metros User's Guide
100 Metros User's Guide100 Metros User's Guide
100 Metros User's GuideARCResearch
 
Defects to be filed
Defects to be filedDefects to be filed
Defects to be filedAShestopalov
 
How to find a missing layer in ArcMap
How to find a missing layer in ArcMapHow to find a missing layer in ArcMap
How to find a missing layer in ArcMapJessica Meyer
 
How to load geocoded points to Mappler
How to load geocoded points to MapplerHow to load geocoded points to Mappler
How to load geocoded points to MapplerWansoo Im
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06Alam Khan
 
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupHow to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupEPC Group
 
Spreadsheet for Year 8
Spreadsheet for Year 8Spreadsheet for Year 8
Spreadsheet for Year 8qistinahJR
 
Tutorial—In-cell Dropdown List with Challenge
Tutorial—In-cell Dropdown List with ChallengeTutorial—In-cell Dropdown List with Challenge
Tutorial—In-cell Dropdown List with ChallengeTechronology Inc.
 
1. eMedRec Overview
1. eMedRec Overview1. eMedRec Overview
1. eMedRec OverviewLaura Holt
 

What's hot (15)

Lesson 6 Working With Cells
Lesson 6   Working With CellsLesson 6   Working With Cells
Lesson 6 Working With Cells
 
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDERCREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
CREATING A DATASET FROM EXCEL IN POWER BI REPORT BUILDER
 
100 Metros User's Guide
100 Metros User's Guide100 Metros User's Guide
100 Metros User's Guide
 
Defects to be filed
Defects to be filedDefects to be filed
Defects to be filed
 
How to find a missing layer in ArcMap
How to find a missing layer in ArcMapHow to find a missing layer in ArcMap
How to find a missing layer in ArcMap
 
How to load geocoded points to Mappler
How to load geocoded points to MapplerHow to load geocoded points to Mappler
How to load geocoded points to Mappler
 
Dynamic view
Dynamic viewDynamic view
Dynamic view
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06
 
Charts and pivot tables
Charts and pivot tablesCharts and pivot tables
Charts and pivot tables
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupHow to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
 
Spreadsheet for Year 8
Spreadsheet for Year 8Spreadsheet for Year 8
Spreadsheet for Year 8
 
Tutorial—In-cell Dropdown List with Challenge
Tutorial—In-cell Dropdown List with ChallengeTutorial—In-cell Dropdown List with Challenge
Tutorial—In-cell Dropdown List with Challenge
 
1. eMedRec Overview
1. eMedRec Overview1. eMedRec Overview
1. eMedRec Overview
 

Similar to Tableau public-tutorail

1 SimplyMap for Public Health Cecilia Smith,.docx
1  SimplyMap for Public Health  Cecilia Smith,.docx1  SimplyMap for Public Health  Cecilia Smith,.docx
1 SimplyMap for Public Health Cecilia Smith,.docxhoney725342
 
Nextera Energy Job Aid
Nextera Energy Job AidNextera Energy Job Aid
Nextera Energy Job AidKara Hodges
 
Gapminder teachersguide200years
Gapminder teachersguide200yearsGapminder teachersguide200years
Gapminder teachersguide200yearsZoely Mamizaka
 
Va filing training
Va filing trainingVa filing training
Va filing trainingVALEDICTION
 
Comidor help how to design a workflow
Comidor help how to design a workflowComidor help how to design a workflow
Comidor help how to design a workflowComidor
 
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software TrainingEconomyModule
 
Selecting Rural Data in data.census.gov
Selecting Rural Data in data.census.govSelecting Rural Data in data.census.gov
Selecting Rural Data in data.census.govRHIhub
 
Becca Aaronson: "Visualizing Health Data," 7.23.15
Becca Aaronson: "Visualizing Health Data," 7.23.15Becca Aaronson: "Visualizing Health Data," 7.23.15
Becca Aaronson: "Visualizing Health Data," 7.23.15reportingonhealth
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot tablesamikshaa sinha
 
Country Reports User Guide Word 2007 New Font
Country Reports User Guide Word 2007 New FontCountry Reports User Guide Word 2007 New Font
Country Reports User Guide Word 2007 New Fontguest1a6221
 
Style Scope Mobile App Documentation
Style Scope Mobile App DocumentationStyle Scope Mobile App Documentation
Style Scope Mobile App DocumentationArleneWatson
 
D I T211 Chapter 8 ( Lab 5)
D I T211    Chapter 8 ( Lab 5)D I T211    Chapter 8 ( Lab 5)
D I T211 Chapter 8 ( Lab 5)askme
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tablesguevarra_2000
 

Similar to Tableau public-tutorail (20)

1 SimplyMap for Public Health Cecilia Smith,.docx
1  SimplyMap for Public Health  Cecilia Smith,.docx1  SimplyMap for Public Health  Cecilia Smith,.docx
1 SimplyMap for Public Health Cecilia Smith,.docx
 
J charts help
J charts helpJ charts help
J charts help
 
Simplymap guide
Simplymap guideSimplymap guide
Simplymap guide
 
Nextera Energy Job Aid
Nextera Energy Job AidNextera Energy Job Aid
Nextera Energy Job Aid
 
Gapminder teachersguide200years
Gapminder teachersguide200yearsGapminder teachersguide200years
Gapminder teachersguide200years
 
Vote Builder Tips
Vote Builder TipsVote Builder Tips
Vote Builder Tips
 
Va filing training
Va filing trainingVa filing training
Va filing training
 
Comidor help how to design a workflow
Comidor help how to design a workflowComidor help how to design a workflow
Comidor help how to design a workflow
 
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software Training
 
Selecting Rural Data in data.census.gov
Selecting Rural Data in data.census.govSelecting Rural Data in data.census.gov
Selecting Rural Data in data.census.gov
 
Becca Aaronson: "Visualizing Health Data," 7.23.15
Becca Aaronson: "Visualizing Health Data," 7.23.15Becca Aaronson: "Visualizing Health Data," 7.23.15
Becca Aaronson: "Visualizing Health Data," 7.23.15
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot table
 
Print18
Print18Print18
Print18
 
Country Reports User Guide Word 2007 New Font
Country Reports User Guide Word 2007 New FontCountry Reports User Guide Word 2007 New Font
Country Reports User Guide Word 2007 New Font
 
Style Scope Mobile App Documentation
Style Scope Mobile App DocumentationStyle Scope Mobile App Documentation
Style Scope Mobile App Documentation
 
D I T211 Chapter 8 ( Lab 5)
D I T211    Chapter 8 ( Lab 5)D I T211    Chapter 8 ( Lab 5)
D I T211 Chapter 8 ( Lab 5)
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tables
 
Generating reports
Generating reportsGenerating reports
Generating reports
 
Final Presenation
Final Presenation Final Presenation
Final Presenation
 

More from dianemoura

Sebrae como elaborar um plano de marketing
Sebrae   como elaborar um plano de marketingSebrae   como elaborar um plano de marketing
Sebrae como elaborar um plano de marketingdianemoura
 
Mestrado must university
Mestrado must universityMestrado must university
Mestrado must universitydianemoura
 
30 filmes história da arte
30 filmes história da arte30 filmes história da arte
30 filmes história da artedianemoura
 

More from dianemoura (6)

Sebrae como elaborar um plano de marketing
Sebrae   como elaborar um plano de marketingSebrae   como elaborar um plano de marketing
Sebrae como elaborar um plano de marketing
 
Mestrado must university
Mestrado must universityMestrado must university
Mestrado must university
 
Etiquetas
EtiquetasEtiquetas
Etiquetas
 
30 filmes história da arte
30 filmes história da arte30 filmes história da arte
30 filmes história da arte
 
Link
LinkLink
Link
 
A
AA
A
 

Recently uploaded

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 

Tableau public-tutorail

  • 1. Tableau Public tutorial Before you start: Download Tableau Public from: http://www.tableausoftware.com/public/download-steps Create a Tableau Public account at: https://public.tableausoftware.com/auth/signup Download the dataset from: http://www.peteraldhous.com/Data/USDA_activity_dataset.xls The Data: o Open USDA_activity_dataset.xls and examine the contents. o The data details physical activity, obesity, and other health data in nearly 100 columns, for more than 3000 rows, one for each county in the US. Connect to the data: o Drag and drop USDA_activity_dataset.xls on top of the Tableau Public icon on your desktop to open. o At the dialog box, click OK to connect. o Tableau automatically recognizes categorical fields, like “State,” and numerical measures like “Adult obesity rate.” Create the first view (a map for each state showing obesity rates at the county level): o Double click on “State” and “County.” Tableau Public recognizes they are geographical fields and geocodes them accordingly. o You may get a warning message; if so, check so that you don’t see it again. o Notice there is a point at 0 degrees latitude and longitude. These are null values. Select them by clicking to one side of the point, keep the mouse button depressed to draw a rectangle over it, then release. Right click on the selected null values and select Exclude. o Right click on the Exclusions in Filter and select Make Global, so that this will apply to all subsequent views. o Now you have a map showing a dot for every county where you have a record:
  • 2. o Drag “Adult obesity rate” from the Measures panel into Color, and copy it into Size shelf to encode counties by those values. o Change the Color to Red–White-Green Diverging, and reverse it: o Now add a filter to enable the selection of individual states. Click and drag “State” into the Filters shelf, click OK at the dialog box. o Right click on “State” in the Filters shelf and select Show Quick Filter. Deselect All and then select Alabama. o Rename the worksheet “Map View” by right clicking on the tab at the bottom. o Finished state of first view:
  • 3. Add a second view (scatter plots showing the relationship between obesity and health-related behaviors at the county level): o Add new worksheet: o Drag “Adult obesity rate” onto Rows and “% smokers,” “% eating few fruits and vegetables” and “% who do not exercise” into Columns. o Drag “County” and “State” into Level of Detail. Without this step, Tableau’s default behavior is to sum the values across all the counties and states, which will give you a single data point for each graph, and not the desired scatter plots. o The view should now look like this: o Change Color to purple, open the Drop down menu next to “Automatic” and select Circle, then move the slider below to the left to increase transparency of the points. o Select Analysis in the top menu and check Trend Lines. o Rename the worksheet “Scatterplot View” by right clicking on the tab at the bottom. o Finished state of second view:
  • 4. Create a Dashboard with both views: o Add dashboard: o Double click on each view to bring both out onto the dashboard. Right click on the State filter, select Compact list. o Right click on this filter again, and select Make Global. This will ensure that selecting a state alters both views simultaneously. o Right click on this filter for a third time, select Customize and uncheck Show “All” Value. This prevents users from seeing the entire data for all the US. o Right click on the titles of each view and select Hide Title. o Rename the dashboard “Obesity by state and county” by right clicking on the tab at the bottom. o Double click on Title under Objects o The dashboard should now look like this:
  • 5. Save to the web: o Under Size, click Edit and select the size and layout best for your website. o Click File on the top menu and select Save to Web. You will be asked for your account login at this point. Embed on your website/blog: o In the Save To Web Results window that has opened up, scroll down beneath the visualization and click on Share. o Copy and paste the embed code into the html of your web page. o You should now have this online visualization: http://www.peteraldhous.com/tableau_demo.html o You can also download a PDF of this handout from: http://www.peteraldhous.com/CAR/tableau_demo.pdf