diff --git a/analysis/ungraded/nat-presentation-script.md b/analysis/ungraded/nat-presentation-script.md new file mode 100644 index 0000000..003f167 --- /dev/null +++ b/analysis/ungraded/nat-presentation-script.md @@ -0,0 +1,19 @@ +Hey there, my name is Nat, and together with Sami, we have spent the last semester studying queer geography using the gaybourhoods dataset from media agency The Pudding, which attempts to measure queerness by neighbourhood in 15 cities across the United States. I'll take a few minutes to discuss the research questions I sought to answer before handing it off to Sami. + +In the first, we asked if there's a correlation between geographical stratums & being LGBT. In the second, we wanted to know if there was a correlation between political alignment and living in a neighbourhood with a large LGBT population. + +Before we could fully tackle these two questions we needed to establish some additional metrics that would make the data more approchable. The fact that our data is continuous complicated numerical studies, so we decided to discretize the observations by dividing the range into 7 chunks, which we call the observation's Kinsey index. + +For our first research question, we were interested not only in a given neighbourhood's kinsey index, but also the kinsey index of any adjacent neighbourhoods. This can be well-represented visually, but we also wanted to find a way to represent it numerically. To do this, we designed an algorithm that calculates an approximate average kinsey index of a small set of observations about the original, which we call the nighbourhood kinsey index. + +Down in the left corner here, we have a bar graph comparing the average neighbourhood kinsey index per kinsey index, where a higher kinsey index represents a neighbourhood with a larger number of gay and lesbian residents. The trend here indicates that relationship between the two variables is proportional. + +Similarly, to the right, we have a scatterplot illustrating the neighbourhood kinsey index versus the same-sex index, representing the density of gay and lesbian residents. It's clear that while the trend is still present, there's a lot of variance in the data. + +Altogether, we have strong numerical evidence that queer communities tend to concentrate in space. + +The third graph we have along the bottom tackles our second research question, quantitatively showing the relationship between a neighbourhood's kinsey index and the percentage of the population who voted democrat in the 2012 American presidential election. We see that on average, neighbourhoods that have a high kinsey index tend to vote more democrat. + +These two phenomena can also be visualized spatially. This is where Tableau shines for the issues we're tackling with this project. For the dashboard, we chose to take a more interactive approach. Both maps illustrate a density map of all observations; the one on the left is filtered by minimum kinsey index and the one on the right is filtered by the minimum percent of the population who voted democrat. + +Here, the filters serve as the third dimention of the data. To compare the peaks of queer and democrat population density, we can adjust the filters on the respective graphs. diff --git a/dashboard/nat-dashboard.twb b/dashboard/nat-dashboard.twb new file mode 100644 index 0000000..df9d45b --- /dev/null +++ b/dashboard/nat-dashboard.twb @@ -0,0 +1,2885 @@ + + + + + + <_.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.1toopr80acws2a14etpec0m8zuoy' name='gaybourhoods-nat.csv' table='[gaybourhoods-nat#csv]' type='table'> + + + + + + + + + + + + <_.fcp.ObjectModelEncapsulateLegacy.true...relation connection='textscan.1toopr80acws2a14etpec0m8zuoy' name='gaybourhoods-nat.csv' table='[gaybourhoods-nat#csv]' type='table'> + + + + + + + + + + + + + + + 0 + [gaybourhoods-nat.csv] + + Count + true + + "UTF-8" + "en_US" + "," + "true" + "en_US" + "" + + + + F1 + 20 + [F1] + [gaybourhoods-nat.csv] + F1 + 0 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + SS_Index + 5 + [SS_Index] + [gaybourhoods-nat.csv] + SS_Index + 1 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + TOTINDEX + 5 + [TOTINDEX] + [gaybourhoods-nat.csv] + TOTINDEX + 2 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + lat + 5 + [lat] + [gaybourhoods-nat.csv] + lat + 3 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + long + 5 + [long] + [gaybourhoods-nat.csv] + long + 4 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + kinsey + 20 + [kinsey] + [gaybourhoods-nat.csv] + kinsey + 5 + integer + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + percent_democrat + 5 + [percent_democrat] + [gaybourhoods-nat.csv] + percent_democrat + 6 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + neighbourhood_kinsey + 5 + [neighbourhood_kinsey] + [gaybourhoods-nat.csv] + neighbourhood_kinsey + 7 + real + Sum + true + <_.fcp.ObjectModelEncapsulateLegacy.true...object-id>[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D] + + + + + + + <_.fcp.ObjectModelTableType.true...column caption='gaybourhoods-nat.csv' datatype='table' name='[__tableau_internal_object_id__].[gaybourhoods-nat.csv_C0527A061D934FF58F5FDD121C9C596D]' role='measure' type='quantitative' /> + + + + + + + + + + <_.fcp.ObjectModelEncapsulateLegacy.true...object-graph> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <formatted-text> + <run fontalignment='1'>Gaybourhoods by Democratic Turnout</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + 0.90200000000000002 + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[min:percent_democrat:qk] + + + + + + + + + + + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:lat:qk] + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:long:qk] +
+ +
+ + + + <formatted-text> + <run fontalignment='1'>Gaybourhoods by Kinsey Index</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + 2 + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[min:kinsey:qk] + + + + + + + + + + + + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:lat:qk] + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:long:qk] +
+ +
+ + + + <formatted-text> + <run>Average Democrat Turnout in the 2012 Presidential Election by Kinsey Index</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:kinsey:qk] + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[avg:percent_democrat:qk] +
+ +
+ + + + <formatted-text> + <run>Mean Neighbourhood Kinsey Index (NKI) by Kinsey Index</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[avg:neighbourhood_kinsey:qk] + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:kinsey:qk] +
+ +
+ + + + <formatted-text> + <run>Neighbourhood Kinsey Index vs. Same-Sex Partners</run> + </formatted-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:neighbourhood_kinsey:qk] + [federated.1bjm0cm0tgynag1cjzc0011h7rtj].[none:SS_Index:qk] +
+ +
+ + + + + + +