Skip to content

Commit 7b85191

Browse files
Merge pull request #171 from LaunchCodeEducation/tableau-2-audit
Tableau 2 audit
2 parents 18baa32 + 39a78bb commit 7b85191

4 files changed

Lines changed: 24 additions & 21 deletions

File tree

content/tableau-part-2/exercises/_index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ weight = 2
5959
1. Create a viz that displays the number of bookings that ended up being a 'No-Show', broken down by Deposit Type and Customer Type.
6060
1. You will need to create a set using the 'Reservation Status' field
6161

62-
1. Student Choice: Create a hierarchy of sets to explore the ADR of an area of the world you would like to visit.
63-
1. Start with the continent.
64-
1. Then a region.
65-
1. Then the country.
62+
1. Student Choice: Create sets and use geographic hierarchy to explore the ADR (Average Daily Rate) of an area of the world you would like to visit.
63+
1. Create a set for a continent of your choice.
64+
1. Create a set for a region within that continent.
65+
1. Create a set for a country within that region.
66+
1. Use these sets together in your visualization to drill down from continent to region to country.
6667

6768
## Submitting Your Work
6869

content/tableau-part-2/reading/filtering/_index.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,27 @@ It may be beneficial to save this diagram so you have it on hand for the next fe
3535

3636
Let's review what each of these categories mean.
3737

38-
An **extract filter** is a filter applied to the **extract** of the data source, or where the data originally comes from.
38+
An **extract** is a saved snapshot of your data in Tableau's own format. An **extract filter** is a filter applied when creating this extract, determining which data gets included in the snapshot.
3939

40-
If you work for an online retailer that specializes in jewelry and want to analyze earring sales for the past 6 months, you may start by pulling the data into Tableau from a SQL Server. However, if you already know that you only need the data from the past 6 months, you may apply an **extract filter** to ensure that only the data from the past 6 months is brought into Tableau.
40+
If you work for an online retailer that specializes in jewelry and want to analyze earring sales for the past 6 months, you may start by pulling the data into Tableau from a SQL Server. However, if you already know that you only need the data from the past 6 months, you may apply an **extract filter** to ensure that only the data from the past 6 months is included in your extract. This reduces the file size and improves performance.
4141

4242
Once you load the data into Tableau, the data is known as the **data source**. A **data source filter** is a filter applied to the data source before a visualization needs to be made.
4343

4444
You will find it very helpful when visualizing data to first review your data source and think hard about what you do and do not need. In the case of earring sales, you might realize that the actual dimensions of the sales are not as important as the category, so you can apply a data source filter before you begin working on your visualizations.
4545

46-
A **context filter** and a **dimension filter** both do similar things, so this is where the order of operations becomes vital!
46+
A **context filter** and a **dimension filter** both do similar things, so this is where the order of operations becomes vital!
4747

48-
The **context filter** comes first in the order of operations and performs its action *before* the data is loaded and a **dimension filter** will perform its action *after* the data is loaded.
48+
The **context filter** comes first in the order of operations and creates a temporary filtered dataset. All subsequent filters (including dimension filters) then operate on this filtered context rather than the full dataset.
4949

50-
Because of this, you may find a **context filter** handy if your data is taking a long time to load.
50+
A **dimension filter** operates after context filters in the query pipeline and filters the data independently.
5151

52-
If we only have a few thousand earring sales to visualize, you may not notice a difference. But, a few million sales records could bog Tableau down.
52+
You may find a **context filter** handy when working with large datasets because it reduces the amount of data that subsequent filters need to process, which can improve performance.
5353

54-
Both filters remove whole columns or rows from the dataset. As we dive into the visualizations, we might find it unhelpful to have a dimension for `item name` because some of the names are long and do not look nice when we assemble our visualizations.
54+
If we only have a few thousand earring sales to visualize, you may not notice a difference. But, a few million sales records could bog Tableau down.
5555

56-
This would be a perfect use case for a **dimension filter** because the data is already loaded into Tableau and upon assembling the visualizations we have discovered that we do not need that whole column. You may not see context filters as often as dimension filters.
56+
Both filters remove whole columns or rows from the dataset. As we dive into the visualizations, we might find it unhelpful to have a dimension for `item name` because some of the names are long and do not look nice when we assemble our visualizations.
57+
58+
This would be a perfect use case for a **dimension filter** because upon assembling the visualizations we have discovered that we do not need that whole column. You may not see context filters as often as dimension filters.
5759

5860
**Measure filters** remove specific cells that don't match a given condition. In the case of analyzing earring sales, you may want to perform some visualizations based on the price of the earrings sold. You can use a measure filter to only visualize earrings that are priced between $50 and $100.
5961

@@ -142,17 +144,17 @@ Willow wants to filter some qualitative data in a chart she is making about pets
142144

143145
{{% notice green Question %}}
144146

145-
Willow wants to only show data about dogs.
147+
Willow wants to only show data about dogs.
146148

147-
Her data set contains a column `Type of Pet` that contains these string values: dog”, “cat”, “rodent”, “bird”, “reptile”, “amphibian”, “rabbit, and other”.
149+
Her data set contains a column `Type of Pet` that contains these string values: "dog", "cat", "rodent", "bird", "reptile", "amphibian", "rabbit", and "other".
148150

149151
Which of the following filter features would allow her to only show data about dogs?
150152

151153
1. Wildcard
152-
1. Top
153-
1. Conditional
154+
1. Top
155+
1. Conditional
154156
1. General
155157

156158
{{% /notice %}}
157159

158-
<!-- Wildcard -->
160+
<!-- General -->

content/tableau-part-2/reading/groups-and-sets/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Match the members of a set:
106106

107107
| | |
108108
|--|--|
109-
| In | Members not in the set |
110-
| Out | Members within the set |
109+
| In | Members within the set |
110+
| Out | Members not in the set |
111111

112112
{{% /notice %}}
113113

content/tableau-part-2/studio/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ Download the [library data set](https://www.kaggle.com/imls/public-libraries?sel
4545
| Region Code 2 - Mideast | New York (NY), Pennsylvania (PA), Maryland (MD), New Jersey (NJ), Delaware (DE), Washington DC (DC) |
4646
| Region Code 3 - Great Lakes | Wisconsin (WI), Illinois (IL), Indiana (IN), Michigan (MI), Ohio (OH) |
4747
| Region Code 4 - Plains | Missouri (MO), Kansas (KS), North Dakota (ND), South Dakota (SD), Minnesota (MN), Iowa (IA), Nebraska (NE) |
48-
| Region Code 5 - Southeast | Virginia (VA), West Virginia (WV), North Carolina (NC), South Carolina (SC), Georgia (GA), Florida (FL), Alabama (AL), Mississippi (MS), Louisiana (LA), Arkansas (AK), Tennessee (TN), Kentucky (KY) |
48+
| Region Code 5 - Southeast | Virginia (VA), West Virginia (WV), North Carolina (NC), South Carolina (SC), Georgia (GA), Florida (FL), Alabama (AL), Mississippi (MS), Louisiana (LA), Arkansas (AR), Tennessee (TN), Kentucky (KY) |
4949
| Region Code 6 - Southwest | Arizona (AZ), New Mexico (NM), Oklahoma (OK), Texas (TX) |
5050
| Region Code 7 - Rocky Mountain | Idaho (ID), Montana (MT), Wyoming (WY), Colorado (CO), Utah (UT) |
51-
| Region Code 8 - Far West | Alaska (AK), Washington (WI), Oregon (OR), California (CA), Nevada (NV), Hawaii (HI) |
51+
| Region Code 8 - Far West | Alaska (AK), Washington (WA), Oregon (OR), California (CA), Nevada (NV), Hawaii (HI) |
5252

5353
[Source](https://www.bea.gov/news/2015/gross-domestic-product-state-advance-2014-and-revised-1997-2013/regional-maps)
5454

0 commit comments

Comments
 (0)