diff --git a/.ipynb_checkpoints/README-checkpoint.md b/.ipynb_checkpoints/README-checkpoint.md new file mode 100644 index 0000000..20e3705 --- /dev/null +++ b/.ipynb_checkpoints/README-checkpoint.md @@ -0,0 +1,38 @@ +![logo_ironhack_blue 7](https://user-images.githubusercontent.com/23629340/40541063-a07a0a8a-601a-11e8-91b5-2f13e4e6b441.png) + +# Lab | Tableau + +### Learning Outcomes + +Upon completion of this lab, you will be able to: + +- Load and integrate datasets into Tableau for analysis. +- Differentiate between and appropriately assign measurements and dimensions within Tableau. +- Construct insightful barplots to compare categorical data. +- Design a treeplot to visualize hierarchical data. +- Synthesize cross tables to examine relationships between two categorical variables. +- Assemble a comprehensive dashboard that encapsulates multiple facets of the dataset. +- Save your Tableau workbook for future reference and sharing. + +### Instructions + +1. **Data Import**: Begin by loading the dataset `we_fn_use_c_marketing_customer_value_analysis.csv` available [here](https://raw.githubusercontent.com/data-bootcamp-v4/data/main/we_fn_use_c_marketing_customer_value_analysis.csv) into Tableau. + +2. **Gender Barplot**: Create a barplot to visualize the distribution of customers by **Gender**. + +3. **Employment and Gender Barplot**: Construct a barplot that represents the number of customers by **EmploymentStatus** segmented by **Gender**. + +4. **Measurements vs. Dimensions**: Review the **Measurements** and **Dimensions** identified by Tableau. Adjust them if necessary to ensure they match your data structure and analysis needs. + +5. **Gender Barplot Sheet**: Develop a sheet dedicated to displaying the barplot of customer counts by **Gender**. + +6. **Employment and Gender Barplot Sheet**: Prepare a separate sheet to showcase the barplot of customer counts by **EmploymentStatus** and **Gender**. + +7. **State Treeplot Sheet**: Create a sheet with a treeplot (also known as a treemap) illustrating the number of customers in each **State**. + +8. **Marital Status and Gender Cross Table**: Generate a cross table that breaks down the customers by Marital status and Gender. + +9. **Dashboard Assembly**: Compile all the created sheets into a single, interactive dashboard for an integrated view of the data insights. + +10. **Save Your Work**: Preserve your Tableau workbook by saving it as `tableau-lab.tbwx`. + diff --git a/Book1.twb b/Book1.twb new file mode 100644 index 0000000..4b9bec7 --- /dev/null +++ b/Book1.twb @@ -0,0 +1,2248 @@ + + + + + + + + + + + + + + + <_.fcp.VConnDownstreamExtractsWithWarnings.true...VConnDownstreamExtractsWithWarnings /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + [we_fn_use_c_marketing_customer_] + + Count + true + + 0 + "A1:X9135:no:A1:X9135:0" + true + 6 + + + + Customer + 130 + [Customer] + [we_fn_use_c_marketing_customer_] + Customer + 0 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + State + 130 + [State] + [we_fn_use_c_marketing_customer_] + State + 1 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Customer Lifetime Value + 5 + [Customer Lifetime Value] + [we_fn_use_c_marketing_customer_] + Customer Lifetime Value + 2 + real + Sum + 15 + true + + "R8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Response + 130 + [Response] + [we_fn_use_c_marketing_customer_] + Response + 3 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Coverage + 130 + [Coverage] + [we_fn_use_c_marketing_customer_] + Coverage + 4 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Education + 130 + [Education] + [we_fn_use_c_marketing_customer_] + Education + 5 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Effective To Date + 7 + [Effective To Date] + [we_fn_use_c_marketing_customer_] + Effective To Date + 6 + date + Year + true + + "DATE" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + EmploymentStatus + 130 + [EmploymentStatus] + [we_fn_use_c_marketing_customer_] + EmploymentStatus + 7 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Gender + 130 + [Gender] + [we_fn_use_c_marketing_customer_] + Gender + 8 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Income + 20 + [Income] + [we_fn_use_c_marketing_customer_] + Income + 9 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Location Code + 130 + [Location Code] + [we_fn_use_c_marketing_customer_] + Location Code + 10 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Marital Status + 130 + [Marital Status] + [we_fn_use_c_marketing_customer_] + Marital Status + 11 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Monthly Premium Auto + 20 + [Monthly Premium Auto] + [we_fn_use_c_marketing_customer_] + Monthly Premium Auto + 12 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Months Since Last Claim + 20 + [Months Since Last Claim] + [we_fn_use_c_marketing_customer_] + Months Since Last Claim + 13 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Months Since Policy Inception + 20 + [Months Since Policy Inception] + [we_fn_use_c_marketing_customer_] + Months Since Policy Inception + 14 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Number of Open Complaints + 20 + [Number of Open Complaints] + [we_fn_use_c_marketing_customer_] + Number of Open Complaints + 15 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Number of Policies + 20 + [Number of Policies] + [we_fn_use_c_marketing_customer_] + Number of Policies + 16 + integer + Sum + true + + "I8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Policy Type + 130 + [Policy Type] + [we_fn_use_c_marketing_customer_] + Policy Type + 17 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Policy + 130 + [Policy] + [we_fn_use_c_marketing_customer_] + Policy + 18 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Renew Offer Type + 130 + [Renew Offer Type] + [we_fn_use_c_marketing_customer_] + Renew Offer Type + 19 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Sales Channel + 130 + [Sales Channel] + [we_fn_use_c_marketing_customer_] + Sales Channel + 20 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Total Claim Amount + 5 + [Total Claim Amount] + [we_fn_use_c_marketing_customer_] + Total Claim Amount + 21 + real + Sum + 15 + true + + "R8" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Vehicle Class + 130 + [Vehicle Class] + [we_fn_use_c_marketing_customer_] + Vehicle Class + 22 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Vehicle Size + 130 + [Vehicle Size] + [we_fn_use_c_marketing_customer_] + Vehicle Size + 23 + string + Count + true + + + "WSTR" + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + + + + + + + + + + + + + Customer + 129 + [Customer] + [Extract] + Customer + 0 + we_fn_use_c_marketing_customer_ + string + Count + 9134 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + State + 129 + [State] + [Extract] + State + 1 + we_fn_use_c_marketing_customer_ + string + Count + 5 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Customer Lifetime Value + 5 + [Customer Lifetime Value] + [Extract] + Customer Lifetime Value + 2 + we_fn_use_c_marketing_customer_ + real + Sum + 4310 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Response + 129 + [Response] + [Extract] + Response + 3 + we_fn_use_c_marketing_customer_ + string + Count + 2 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Coverage + 129 + [Coverage] + [Extract] + Coverage + 4 + we_fn_use_c_marketing_customer_ + string + Count + 3 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Education + 129 + [Education] + [Extract] + Education + 5 + we_fn_use_c_marketing_customer_ + string + Count + 5 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Effective To Date + 133 + [Effective To Date] + [Extract] + Effective To Date + 6 + we_fn_use_c_marketing_customer_ + date + Year + 59 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + EmploymentStatus + 129 + [EmploymentStatus] + [Extract] + EmploymentStatus + 7 + we_fn_use_c_marketing_customer_ + string + Count + 5 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Gender + 129 + [Gender] + [Extract] + Gender + 8 + we_fn_use_c_marketing_customer_ + string + Count + 2 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Income + 20 + [Income] + [Extract] + Income + 9 + we_fn_use_c_marketing_customer_ + integer + Sum + 3256 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Location Code + 129 + [Location Code] + [Extract] + Location Code + 10 + we_fn_use_c_marketing_customer_ + string + Count + 3 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Marital Status + 129 + [Marital Status] + [Extract] + Marital Status + 11 + we_fn_use_c_marketing_customer_ + string + Count + 3 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Monthly Premium Auto + 20 + [Monthly Premium Auto] + [Extract] + Monthly Premium Auto + 12 + we_fn_use_c_marketing_customer_ + integer + Sum + 173 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Months Since Last Claim + 20 + [Months Since Last Claim] + [Extract] + Months Since Last Claim + 13 + we_fn_use_c_marketing_customer_ + integer + Sum + 36 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Months Since Policy Inception + 20 + [Months Since Policy Inception] + [Extract] + Months Since Policy Inception + 14 + we_fn_use_c_marketing_customer_ + integer + Sum + 100 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Number of Open Complaints + 20 + [Number of Open Complaints] + [Extract] + Number of Open Complaints + 15 + we_fn_use_c_marketing_customer_ + integer + Sum + 6 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Number of Policies + 20 + [Number of Policies] + [Extract] + Number of Policies + 16 + we_fn_use_c_marketing_customer_ + integer + Sum + 9 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Policy Type + 129 + [Policy Type] + [Extract] + Policy Type + 17 + we_fn_use_c_marketing_customer_ + string + Count + 3 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Policy + 129 + [Policy] + [Extract] + Policy + 18 + we_fn_use_c_marketing_customer_ + string + Count + 9 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Renew Offer Type + 129 + [Renew Offer Type] + [Extract] + Renew Offer Type + 19 + we_fn_use_c_marketing_customer_ + string + Count + 4 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Sales Channel + 129 + [Sales Channel] + [Extract] + Sales Channel + 20 + we_fn_use_c_marketing_customer_ + string + Count + 4 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Total Claim Amount + 5 + [Total Claim Amount] + [Extract] + Total Claim Amount + 21 + we_fn_use_c_marketing_customer_ + real + Sum + 2337 + true + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Vehicle Class + 129 + [Vehicle Class] + [Extract] + Vehicle Class + 22 + we_fn_use_c_marketing_customer_ + string + Count + 6 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + Vehicle Size + 129 + [Vehicle Size] + [Extract] + Vehicle Size + 23 + we_fn_use_c_marketing_customer_ + string + Count + 3 + true + + [we!fn!use!c!marketing!customer!_D6269E128ECA443A98F5FF2C22C0A548] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.0vyq8bq1mlb4im18buwnk01x52zf].[cnt:Gender:qk] + ([federated.0vyq8bq1mlb4im18buwnk01x52zf].[none:Gender:nk] / [federated.0vyq8bq1mlb4im18buwnk01x52zf].[none:EmploymentStatus:nk]) +
+ +
+ + + + <formatted-text> + <run fontcolor='#000000' fontname='Benton Sans Book'>Gender Barplot</run> + </formatted-text> + + + + + + + + + + + + + + + + + + [federated.0vyq8bq1mlb4im18buwnk01x52zf].[cnt:Gender:qk] + [federated.0vyq8bq1mlb4im18buwnk01x52zf].[none:Gender:nk] +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.0vyq8bq1mlb4im18buwnk01x52zf].[none:Marital Status:nk] + [federated.0vyq8bq1mlb4im18buwnk01x52zf].[none:Gender:nk] +
+ +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +