From a7b7caaa89754d84fbe9449a21f06f54582085eb Mon Sep 17 00:00:00 2001 From: almsam <44277999+almsam@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:25:46 -0700 Subject: [PATCH] dashboard first attempt --- analysis/Book Sami.twb | 2790 +++++++++++++++++++++++++++++++ analysis/analysis2.ipynb | 6 +- analysis/~Book Sami__19792.twbr | 0 images/Dashboard 1 Sami.png | Bin 0 -> 289324 bytes 4 files changed, 2793 insertions(+), 3 deletions(-) create mode 100644 analysis/Book Sami.twb create mode 100644 analysis/~Book Sami__19792.twbr create mode 100644 images/Dashboard 1 Sami.png diff --git a/analysis/Book Sami.twb b/analysis/Book Sami.twb new file mode 100644 index 0000000..a071b0d --- /dev/null +++ b/analysis/Book Sami.twb @@ -0,0 +1,2790 @@ + + + + + + <_.fcp.AccessibleZoneTabOrder.true...AccessibleZoneTabOrder /> + <_.fcp.AnimationOnByDefault.true...AnimationOnByDefault /> + + + <_.fcp.MarkAnimation.true...MarkAnimation /> + <_.fcp.ObjectModelEncapsulateLegacy.true...ObjectModelEncapsulateLegacy /> + <_.fcp.ObjectModelTableType.true...ObjectModelTableType /> + <_.fcp.SchemaViewerObjectModel.true...SchemaViewerObjectModel /> + + + + + + + + + <_.fcp.AnimationOnByDefault.false...style> + <_.fcp.AnimationOnByDefault.false..._.fcp.MarkAnimation.true...style-rule element='animation'> + <_.fcp.AnimationOnByDefault.false...format attr='animation-on' value='ao-on' /> + + + + + + + + + + + + + + <_.fcp.ObjectModelEncapsulateLegacy.false...relation connection='textscan.0ymouyf0lohvbk1ef8t3h0xftmgh' name='tax_and_gay.csv' table='[tax_and_gay#csv]' type='table'> + + + + + + + + + + <_.fcp.ObjectModelEncapsulateLegacy.true...relation type='collection'> + + + + + + + + + + + + + + + + + + + + + + 0 + [tax_and_gay.csv] + + Count + true + + "UTF-8" + "en_GB" + "," + "true" + "en_CA" + "" + + + + + 0 + [zip_lat_long.csv] + + Count + true + + "UTF-8" + "en_GB" + "," + "true" + "en_CA" + "" + + + + zip + 20 + [zip] + [tax_and_gay.csv] + zip + 0 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + zip 1 + 20 + [zip 1] + [tax_and_gay.csv] + zip 1 + 1 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + population + 5 + [population] + [tax_and_gay.csv] + population + 2 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + gay tax rate + 20 + [gay tax rate] + [tax_and_gay.csv] + gay tax rate + 3 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + overall tax paid + 5 + [overall tax paid] + [tax_and_gay.csv] + overall tax paid + 4 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + income + 20 + [income] + [tax_and_gay.csv] + income + 5 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511] + + + ZIP + 20 + [ZIP] + [zip_lat_long.csv] + ZIP + 6 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[zip_lat_long.csv_EA1829CF3CA8490894E3EAB97341B6C8] + + + LAT + 5 + [LAT] + [zip_lat_long.csv] + LAT + 7 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[zip_lat_long.csv_EA1829CF3CA8490894E3EAB97341B6C8] + + + LNG + 5 + [LNG] + [zip_lat_long.csv] + LNG + 8 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[zip_lat_long.csv_EA1829CF3CA8490894E3EAB97341B6C8] + + + + + + + + <_.fcp.ObjectModelTableType.true...column caption='tax_and_gay.csv' datatype='table' name='[__tableau_internal_object_id__].[tax_and_gay.csv_2695AFE1365845F98E5AB43881776511]' role='measure' type='quantitative' /> + <_.fcp.ObjectModelTableType.true...column caption='zip_lat_long.csv' datatype='table' name='[__tableau_internal_object_id__].[zip_lat_long.csv_EA1829CF3CA8490894E3EAB97341B6C8]' role='measure' type='quantitative' /> + + + + + + + + + + + <_.fcp.ObjectModelEncapsulateLegacy.true...object-graph> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <formatted-text> + <run bold='true' fontcolor='#b07aa1'>Logarithmic Regression of income tax paid by the Gay population VS the General population</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:overall tax paid:qk] + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:gay tax rate:qk] +
+ +
+ + + + <formatted-text> + <run bold='true' fontcolor='#4e79a7'>Linear Regression of income tax paid by the Gay population VS the General population</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:overall tax paid:qk] + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:gay tax rate:qk] +
+ +
+ + + + <formatted-text> + <run bold='true' fontalignment='1' fontcolor='#f9a655'>Analysis of the Gay and General tax rates of a sample of Zip Codes</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ([federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:overall tax paid:qk] + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:gay tax rate:qk]) + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:zip:ok] +
+ +
+ + + + <formatted-text> + <run bold='true' fontcolor='#f28e2b'>Heat-Map of Income Tax Paid by Gay people</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gay Tax Rate: + + + + + + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:LAT:qk] + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:LNG:qk] +
+ +
+ + + + <formatted-text> + <run bold='true' fontcolor='#818b91'>Heat-Map of Income Tax Paid by the General population</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gay Tax Rate: + + + + + + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:LAT:qk] + [federated.0a0r44a1k0ra1y1cmt8ab15acxw6].[none:LNG:qk] +
+ +
+
+ + +