<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="http://esbenbl.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="http://esbenbl.github.io/" rel="alternate" type="text/html" /><updated>2023-05-10T14:11:03+00:00</updated><id>http://esbenbl.github.io/feed.xml</id><title type="html">Social Visualisation and Data Analysis</title><subtitle></subtitle><entry><title type="html">Assignment 2</title><link href="http://esbenbl.github.io/ass2/" rel="alternate" type="text/html" title="Assignment 2" /><published>2020-01-01T00:00:00+00:00</published><updated>2020-01-01T00:00:00+00:00</updated><id>http://esbenbl.github.io/ass2</id><content type="html" xml:base="http://esbenbl.github.io/ass2/">&lt;html&gt;
&lt;head&gt;
	&lt;style&gt;
        .post-title {
            color: white
        }
        h3 {
            font-size: 14px;
            text-align: center
        }
		.column {
			float: left;
			width: 50%;
			padding: 10px;
			box-sizing: border-box;
            text-align: center;
		}
		.column img {
			display: block; /* make the image a block element */
			max-width: 100%; /* set the maximum width of the image to the width of its parent element */
			height: auto; /* allow the height of the image to adjust proportionally */
			margin: 0 auto; /* center the image horizontally */
		}
		.column p {
			width: 80%; /* set the width of the paragraph text to 80% of the column */
			margin: 0 auto; /* center the paragraph text horizontally */
            text-align: justify
		}
        .border-right {
            border-right: 1px solid black;
        }
		.clearfix::after {
			content: &quot;&quot;;
			clear: both;
			display: table;
		}
        div {
            text-align: justify
        }
        .back-video {
            position: absolute;
            left:0;
            width: 100%;
            height: auto;
            z-index:-1;
            transform: translateY(-80%)
        }
        /* @media (min-aspect-ration:22/6){
            .back-video{
                width: 100%;
                height: auto;
            }
        }
        @media (max-aspect-ration:22/6){
            .back-video{
                width: auto;
                height: 100%;
            }
        } */
        footer {
        text-align: right;
        }
        .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        }
	&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;div class=&quot;city_life&quot;&gt;
        &lt;video autoplay=&quot;&quot; loop=&quot;&quot; muted=&quot;&quot; plays-inline=&quot;&quot; class=&quot;back-video&quot;&gt;
            &lt;source src=&quot;/assets/ass2_assets/video_ass/city_crime_crop.mp4&quot; type=&quot;video/mp4&quot; /&gt;
        &lt;/video&gt;
    &lt;/div&gt;

&lt;p style=&quot;color:white&quot;&gt;A deep dive into crime resolution&lt;/p&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;
&lt;div&gt; 
&lt;p&gt;
One of the cornerstones in any functioning society is its ability to uphold law and order, enforcíng judgement on those who break the rules and norms of the collective. An accurate and effective criminal justice system is thus a central societal institution, acting as a deterrent to those who are prone to commit criminal acts, while also ensuring that victims of a crime have a legitimate place to turn to in search of justice. In reality, however, the resources of the criminal justice system are finite and crime prevention often becomes a matter of priorities. In San Francisco, the police department have undergone multiple rounds of &lt;a href=&quot;https://abc7news.com/san-francisco-police-department-shortage-staffing-sfpd-chief-william-scott/12094352/&quot; target=&quot;_blank&quot;&gt;staffing shortage&lt;/a&gt;, making the resources even scarcer and the need for strategic operations of paramount importance. To gain a better understanding of the resolution of crime - and lack thereof - in San Francisco, we seek to analyse this subject using SFDP's own records on criminal activities from 2003 up until 2017. 
&lt;br /&gt;
&lt;br /&gt;
The analysis consists of 3 parts. We start by visualizing &lt;b&gt;the overall development&lt;/b&gt; of resolved versus unresolved crime in San Francisco through the periode (2003-2017). Then, we examine &lt;b&gt;the geographical distribution and development&lt;/b&gt; of unresolved criminal activity, looking into the many neightborhoods of San Francisco. Finally, we scrutinize crime resolution &lt;b&gt;within and between different types of criminal activity&lt;/b&gt; and how these have developed from 2003 until 2017. 
&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;
&lt;h2&gt;Our Dataset&lt;/h2&gt;
&lt;p&gt;
When conducting a data analysis like the one we are about to present, it is essential to be transparant and clear about one's choices regarding data cleaning and structuring process. This section is about just that. The data we use for the analysis is from the &lt;a href=&quot;https://data.sfgov.org/browse?category=Public+Safety&quot; target=&quot;_blank&quot;&gt;San Francisco State Department's website&lt;/a&gt;. The data is from 2003 up to and including mid-2018. For data consistency and comparability between years, we have excluded the data from 2018 and removed duplicates from the data. We have also taken a clear-cut approach to the concept of &quot;solving a crime&quot;, as we classify all crimes as either &lt;b&gt;resolved&lt;/b&gt; or &lt;b&gt;unresolved&lt;/b&gt;. Though a more fine-grained categorization is present in the data, we do not distinguish between whether for example the crime report resulted in conviction, the complainant refused to prosecute, or if a prosecution was concluded to be unfounded, etc. All three would be classified as resolved in our analysis. Lastly we have choosen to only focus on the most prevalent types of crime. These include &lt;b&gt;Weapon laws, Prostitution, Driving under the influence, Robbery, Burglary, Assault, Drunkenness, Drug/Narcotic, Trespass, Larceny/Theft, Vandalism, Vehicle theft, Stolen property, Disorderly conduct&lt;/b&gt;. Within these 14 types of criminal activity &lt;b&gt;1.064.374 reports&lt;/b&gt; have been filled between 2003 and 2017. If you want to see how we did all the data processing you can follow this link to our &lt;a href=&quot;https://github.com/EsbenBL/social_visualization/blob/main/Assignments/Assignment_2/Assignment2.ipynb&quot; target=&quot;_blank&quot;&gt;Github Repository&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;
&lt;h2&gt;The Overall Development of Crime Resolution&lt;/h2&gt;
&lt;p&gt;
We start our inspection of crime resolution in San Francisco by visualizing the overall distribution of resolved versus unresolved crime reportings by year to get an initial overview of the development.  
&lt;/p&gt;
&lt;div class=&quot;center&quot;&gt;
    &lt;h4 style=&quot;text-align:center&quot;&gt;Distribution of Resolved versus Unresolved Crime Reportings by Year&lt;/h4&gt;
    &lt;img src=&quot;/assets/ass2_assets/res_v_unres_by_year_stacked.png&quot; /&gt;
&lt;/div&gt;
&lt;!-- &lt;div class=&quot;column border-right&quot;&gt;
    &lt;h3 style=&quot;font-size: 18px; text-align:center&quot;&gt;Distribution of Resolved v. Unresolved Crime Reportings by Year&lt;/h3&gt;
    &lt;img src=&quot;/assets/ass2_assets/res_v_unres_by_year_nonstacked.png&quot;&gt;
    &lt;br&gt;
    &lt;p&gt;Måske vi skal vælge den her.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;column&quot;&gt;
    &lt;h3 style=&quot;font-size: 18px; text-align:center&quot;&gt;Distribution of Resolved v. Unresolved Crime Reportings by Year&lt;/h3&gt;
    &lt;img src=&quot;/assets/ass2_assets/res_v_unres_by_year_stacked.png&quot;&gt;
    &lt;br&gt;
    &lt;p&gt;Vi kan også vælge den her. Ved ikke helt hvilken jeg synes er bedst. &lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;clearfix&quot;&gt;&lt;/div&gt; --&gt;
&lt;p&gt;
    While the overall amount of criminal activity has slowly risen since 2011, the number of resolved crimes have been been steadily decreasing since 2009. In 2017, only &lt;b&gt;~10.000 out of ~80.000 crime reportings were resolved&lt;/b&gt;. Thus, it would look as if crime resolution is an increasing problem. As mentioned in the introduction, SFPD are continuously undergoing budget cuts, which could explain the decrease in resolved crime reportings. An alternative - or supplementary - explanation could be that an increase in crime reporting takes resources from the police department, as they have to receive and file the report, thus making it harder for them to prioritize resources in actually solving the crimes.
    &lt;br /&gt;
    &lt;br /&gt;
    Now that we have a better overview of the extent of the crime resolution challenge, we can delve a little deeper. Maybe the decreasing number of resolved crimes - and increasing number of unresolved crimes - in San Francisco is driven mainly by increased criminal activity in some neighborhoods and not in all of San Francisco. In the following section, we will look into the geographical distribution and development of unresolved criminal activity.
&lt;/p&gt;
&lt;br /&gt;
&lt;h2&gt;Unresolved Criminal Activity by San Franciscan Neighborhood&lt;/h2&gt;
&lt;p&gt;
&lt;a href=&quot;https://data.sfgov.org/browse?category=Public+Safety&quot; target=&quot;_blank&quot;&gt;The main dataset on crime reportings from SFPD&lt;/a&gt; contains both coordinates and district regarding the location of the crimes. With district being too broad and coordinates being to specific, we found that &lt;b&gt;neighborhoods&lt;/b&gt; seemed to be the perfect middle ground. So, we include another dataset on neighborhood geolocation in San Francisco from the &lt;a href=&quot;https://data.sfgov.org/Geographic-Locations-and-Boundaries/SF-Find-Neighborhoods/pty2-tcw4&quot; target=&quot;_blank&quot;&gt;San Francisco State Department&lt;/a&gt;. By incorporating this data into our analysis, we can use the coordinate information from the main dataset and reverse-geocode every crime reporting into one of the &lt;b&gt;117 San Fraciscan neighborhoods&lt;/b&gt;.
&lt;br /&gt;
&lt;br /&gt;
Below, one can explore the geographical distribution of unresolved crime reports in San Francisco from 2003-2017. The plot contains three &lt;i&gt;&quot;layers&quot;&lt;/i&gt; that you can access through the &lt;b&gt;dropdown menu&lt;/b&gt;. &lt;b&gt;First&lt;/b&gt;, it shows the geographical distribution of the total number of reported crimes. &lt;b&gt;Second&lt;/b&gt;, it shows the share of unresolved reportings between 2003-2017 distributed into the neighborhodds. &lt;b&gt;Third&lt;/b&gt;, it shows each neighborhood's development with regard to unresolved criminality from 2003 to 2017. The development is based on a linear regression of &lt;b&gt;The share of Unresolved Crime Reportings&lt;/b&gt; on &lt;b&gt;Years since 2003&lt;/b&gt; and should be interpreted as the %-point change in a neighborhood's share of unresolved crime reportings for each passing year since 2003. 
&lt;/p&gt;

&lt;div&gt;
    &lt;h4 style=&quot;text-align:center&quot;&gt;Distribution and Development in Unresolved Crime by Neighborhood&lt;/h4&gt;
    &lt;embed type=&quot;text/html&quot; src=&quot;/assets/ass2_assets/SF_unresolved_crime.html&quot; width=&quot;1200&quot; height=&quot;650&quot; /&gt;
&lt;/div&gt;
&lt;p&gt;In &lt;b&gt;the first &lt;i&gt;&quot;layer&quot;&lt;/i&gt;&lt;/b&gt; of the map - displaying the total number of crime reports - it is evident that some neighborhoods suffer under a significantly higher degree of criminal activity, compared to other neighborhoods. &lt;b&gt;South of Market&lt;/b&gt; has the highest number of reports at &lt;b&gt;~146.000 reportings&lt;/b&gt;, followed closely by &lt;b&gt;Mission&lt;/b&gt; and &lt;b&gt;Tenderloin&lt;/b&gt;. Overall, the northeastern side of San Francisco seems to have most criminal activity.
&lt;br /&gt;
&lt;br /&gt;
Looking into &lt;b&gt;the second &lt;i&gt;&quot;layer&quot;&lt;/i&gt;&lt;/b&gt; of the map - presenting the neighborhoods' share of unresolved crime reports - an interesting finding is that there seems to be a relatively low share of unresolved crime reportings in the aforementioned areas with the highest degree of criminal activity, i.e &lt;b&gt;South of Market&lt;/b&gt;, &lt;b&gt;Mission&lt;/b&gt;, and &lt;b&gt;Tenderloin&lt;/b&gt;. Maybe the police are focusing their resources on these locations, exactly because of their high degree of criminality. 
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The third and final &lt;i&gt;&quot;layer&quot;&lt;/i&gt;&lt;/b&gt; of the map shows the development of unresolved reports in the different neighborhoods since 2003. Here, we see a general - though slight - increase in the relative amount of unresolved crimes in most of the neighborhoods. This makes sense, considering what we found in the very first plot, i.e. that the amount of resolved crimes have continously decreased since 2003, while the general number of reportings have increased. &lt;b&gt;Tenderloin&lt;/b&gt;, &lt;b&gt;Golden Gate Park&lt;/b&gt;, and &lt;b&gt;Lower Nob Hill&lt;/b&gt; have undergone the most negative development across the period. In the first &lt;i&gt;&quot;layer&quot;&lt;/i&gt;, we saw that &lt;b&gt;Tenderloin&lt;/b&gt; is one of the areas with most criminal activity. In the third &lt;i&gt;&quot;layer&quot;&lt;/i&gt;, we see that on average, &lt;b&gt;Tenderloin&lt;/b&gt; have had a 2,6%-point increase in the neighborhood's share of unresolved crime for each year since 2003. Though the neighborhood appeared to be well off judging by the share of unresolved crime across all years (see the second  &lt;i&gt;&quot;layer&quot;&lt;/i&gt;), the police might consider focusing their resources even further on &lt;b&gt;Tenderloin&lt;/b&gt; to stop the negative development. On the other end of the spectrum, &lt;b&gt;Parnassus Heights&lt;/b&gt;, &lt;b&gt;Presidio National Park&lt;/b&gt;, &lt;b&gt;Parkmerced&lt;/b&gt;, and &lt;b&gt;Treasure Island&lt;/b&gt; appear to generally have succeded in bringing down their relative amount of unresolved crime since 2003. Especially &lt;b&gt;Parnassus Heights&lt;/b&gt; and &lt;b&gt;Parkmerced&lt;/b&gt; are interesting cases, as they do not have significantly fewer crimes in total than the other neighborhoods. Thus, it could be relevant for SFPD to look more into these two areas and take inspiration from their work.
&lt;br /&gt;
&lt;br /&gt;
Now that we have a better understanding of the geographical distribution of crime resolution and where the police might want to focus their resources or take inspiration from, it seems relevant to also examine if the negative development in unresolved crime is driven by a particular type of criminal activity being increasingly prevalent. Let's do that.
&lt;/p&gt;
&lt;h2&gt;Unresolved Criminal Activity by Crime Type&lt;/h2&gt;
&lt;p&gt;
In the plot below, we have visualised the yearly distribution of resolved versus unresolved crime reports by type of crime. One can navigate between the various crime types using the tabs in the top of the plot. 
&lt;/p&gt;
&lt;div&gt;
    &lt;h4 style=&quot;text-align:center&quot;&gt;Distribution of Resolved versus Unresolved Crime Reporting by Year and Type&lt;/h4&gt;
    &lt;embed type=&quot;text/html&quot; src=&quot;/assets/ass2_assets/uresolved_by_crimetype.html&quot; width=&quot;1200&quot; height=&quot;650&quot; /&gt;
&lt;/div&gt;
&lt;p&gt;Inspecting the relation between crime types and resolution reveale some relevant patterns. The total amount of &lt;b&gt;Larcency/theft&lt;/b&gt; has increase notably since 2010, while the number of resolved crimes on &lt;b&gt;Larcency/theft&lt;/b&gt; actually have decreased slightly. This could be one of the main factors behind the overall rise in unresolved crimes in San Francisco. We also find the same pattern with &lt;b&gt;Vandalism&lt;/b&gt; where the amount of reports has increased, while the resolved reports of &lt;b&gt;Vandalism&lt;/b&gt; has remained steady. &lt;b&gt;Weapon Laws&lt;/b&gt; and &lt;b&gt;Trespass&lt;/b&gt; has increased as well, but here the amount of resolved crimes has also risen for both crime types. &lt;b&gt;Vehicle Theft&lt;/b&gt; has seen a dramatic reduction from 2006, because of &lt;a href=&quot;https://www.eastbaytimes.com/2007/02/17/auto-thefts-in-state-decline-for-first-time-in-decade/&quot; target=&quot;_blank&quot;&gt;a new safety system&lt;/a&gt; implemented in newer cars, making them harder to steal.
&lt;br /&gt;
&lt;br /&gt;
The types of crime that have decreased in overall activity also appear to be the ones that are most often resolved. &lt;b&gt;Prostitution&lt;/b&gt;, &lt;b&gt;Drunkenness&lt;/b&gt;, &lt;b&gt;Drug/Narcotic&lt;/b&gt;, and &lt;b&gt;Driving under the influence&lt;/b&gt; all have a high share of resolved cases, but also seems to be following an overall downgoing trend regarding crime reports. Thus, it could seem that crimes with a high rate of resolved reports are dying out - or not getting reported - while crimes with low rates of resolved reports - such as &lt;b&gt;Larcency/Theft&lt;/b&gt; - are becoming increasingly prevalent. This evolution of crime in San Francisco could be a main driver for the overall decrease in resolved crime reports.  
&lt;/p&gt;
&lt;h2&gt;Concluding Thoughts
&lt;/h2&gt;
&lt;p&gt;In this mini-analysis, we have presented a short data-story on the development of crime resolution in San Francisco. We saw that both the total and relative amount of unresolved crime cases are increasing and have been doing so more or less continuously for the past two decades. We explored which neighborhoods have had the highest degree of unresolved criminal activity as well as the neighborhoods' development in that regard over the period of 2003-2017. We found that especially &lt;b&gt;Parnassus Heights&lt;/b&gt; and &lt;b&gt;Parkmerced&lt;/b&gt; have had a positive development with regard to lowering their relative amount of unresolved crime, while &lt;b&gt;Tenderloin&lt;/b&gt; have seen a steady increase in its share unresolved crime. Lastly, we also examined how crime resolution in San Francisco relates to specific types of criminality. We found &lt;b&gt;Lacency/Theft&lt;/b&gt; to be by far the most dominant type of criminal activity, becoming more and more prevalent by the year and with an increasingly low share of resolved cases.
&lt;br /&gt;
&lt;br /&gt;
Ultimately, crime prevention is inevitably a question of resources and priorities. Which kind of criminal activity should one solve first? and where? This small analysis shows, that over the post 20-odd years, SFPD have been dealing with a growing problem with regard to managing the slowly increasing amount of criminal activity in San Francisco. One thing is for certain: budget cuts probably doesn't make it easier.  
&lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;footer&gt;
  &lt;p&gt;Click the link below to see how we did the data processing.&lt;br /&gt;
  &lt;a href=&quot;https://github.com/EsbenBL/social_visualization/blob/main/Assignments/Assignment_2/Assignment2.ipynb&quot; target=&quot;_blank&quot;&gt;Github Repository&lt;/a&gt;&lt;/p&gt;
&lt;/footer&gt;
&lt;/html&gt;</content><author><name></name></author><summary type="html"></summary></entry><entry><title type="html">Assignment B</title><link href="http://esbenbl.github.io/ass_b/" rel="alternate" type="text/html" title="Assignment B" /><published>2012-01-01T00:00:00+00:00</published><updated>2012-01-01T00:00:00+00:00</updated><id>http://esbenbl.github.io/final</id><content type="html" xml:base="http://esbenbl.github.io/ass_b/">&lt;html&gt;
&lt;head&gt;
	&lt;style&gt;
        .post-title {
            color: white
        }
        .references {
            text-align:left
        }
        /* p a {
            font-weight:bold
        } */
        h3 {
            font-size: 14px;
            text-align: center
        }
		.column {
			float: left;
			width: 50%;
			padding: 10px;
			box-sizing: border-box;
            text-align: center;
		}
		.column img {
			display: block; /* make the image a block element */
			max-width: 100%; /* set the maximum width of the image to the width of its parent element */
			height: auto; /* allow the height of the image to adjust proportionally */
			margin: 0 auto; /* center the image horizontally */
		}
		.column p {
			width: 80%; /* set the width of the paragraph text to 80% of the column */
			margin: 0 auto; /* center the paragraph text horizontally */
            text-align: justify
		}
        .border-right {
            border-right: 1px solid black;
        }
		.clearfix::after {
			content: &quot;&quot;;
			clear: both;
			display: table;
		}
        div {
            text-align: justify
        }
        .back-video {
            position: absolute;
            left:0;
            width: 100%;
            height: auto;
            z-index:-1;
            transform: translateY(-80%)
        }
        /* @media (min-aspect-ration:22/6){
            .back-video{
                width: 100%;
                height: auto;
            }
        }
        @media (max-aspect-ration:22/6){
            .back-video{
                width: auto;
                height: 100%;
            }
        } */
        footer {
        text-align: right;
        }
        .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 70%;
        }
        h4 {
        text-align: center
        }
	&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;city_life&quot;&gt;
        &lt;video autoplay=&quot;&quot; loop=&quot;&quot; muted=&quot;&quot; plays-inline=&quot;&quot; class=&quot;back-video&quot;&gt;
            &lt;source src=&quot;/assets/ass2_assets/video_ass/city_crime_crop.mp4&quot; type=&quot;video/mp4&quot; /&gt;
        &lt;/video&gt;
    &lt;/div&gt;

&lt;p style=&quot;color:white&quot;&gt;From Seed To Apple in New York City&lt;/p&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;
    &lt;div&gt;
        &lt;p&gt;
        Let's paint the picture! A boat filled with tired but hopeful families glides across the still morning waters. They have all left their old homes for the promises and opportunities of the new world. In the distance, through the mist, a statue the size of a skyscraper breaks through the morning fog. The mood among the seaworn travellers brightens, realizing that they have finally arrived at their destination. Soon after, a skyline of actual skyscrapers paints the horizon and the bustling sounds of city life fill the air. Sounds familiar? If not, here's a picture to help!
        &lt;p&gt;
    &lt;div class=&quot;center&quot;&gt;
        &lt;h4&gt;A Hazy View of Travellers Greeting the Statue of Liberty&lt;/h4&gt;
        &lt;img src=&quot;https://lavocedinewyork.com/wp-content/uploads/2018/04/italiani-emigrati-negli-usa.png&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
    &lt;div&gt;
        &lt;p&gt;&lt;b&gt;New York City&lt;/b&gt; is undeniably one of - if not &lt;i&gt;the&lt;/i&gt; most influential and renowned city in western society. In many ways, the city encapsulates the idea of The American Dream, with its buzzing streets, opportune business life, and rich cultural scene, spawning sayings like &lt;i&gt;&quot;if you can make it here, you can make it anywhere&quot;&lt;/i&gt;. Pop cultural references to New York City is omnipresent in western movies, music, and art and each year &lt;a href=&quot;https://en.wikipedia.org/wiki/List_of_cities_by_international_visitors&quot; target=&quot;_blank&quot;&gt;millions of turists&lt;/a&gt; from all over the world flock to the city see all the &lt;i&gt;&quot;familiar&quot;&lt;/i&gt; places in real life. &lt;i&gt;The City That Never Sleeps, the Capital of the World, the Big Apple&lt;/i&gt; - New York City has earned itself many nicknames. The city has the &lt;a href=&quot;http://www.citymayors.com/statistics/richest-cities-2020.html&quot; target=&quot;_blank&quot;&gt;second highest GDP in the world&lt;/a&gt;, and continues to be &lt;a href=&quot;https://www.newyorkfed.org/medialibrary/media/research/epr/05v11n2/0512glae.pdf&quot; target=&quot;_blank&quot;&gt;the largest city in the US for over 200 years&lt;/a&gt; with a population of around 8.5 million people today. Professor of economics at Harvard University, Edward L. Glaeser, states that &lt;i&gt;&quot;While Boston's history is one of ongoing crises and reinvention (Glaeser 2005), New York's is one of almost unbroken triumph&quot;&lt;/i&gt; (Glaeser 2005:1). But what could be the explanation for New York City's urbanizational triumph over the past 200 years?
        &lt;br /&gt;&lt;br /&gt;
        Answering this question is a complex task - way too complex for this short data story. Rather, what we seek is to gain a better understanding of New York City's so-called &lt;i&gt;unbroken triumph&lt;/i&gt; as a city by mapping the urbanisational development in New York City's journey from a small seed to the Big Apple using open data, visualizations and statistics. First, we'll examine the history of how New York City took the physical form that we know of today with its bustling streets and 100+ story skyscrapers. Then, we turn to those who the skyscrapers were built by and for, namely the inhabitants of New York City. How did New York City come to be the continuously most populous city in the US and what role did immigration play in this part of New York City's triumph? Subsequently, we take a contemporary look at New York City and its neighborhood from the perspective of racial segregation. In a multicultural melting pot such as New York City, which geographical patterns emerge when one observe the city through a racial lens? Ultimatly, we'll synthesise the insights that we gained throughout the three abovementioned sections and discuss where to go from here. Be sure to visit our &lt;a href=&quot;https://github.com/EsbenBL/social_visualization/blob/main/Exam/Explainer_notebook.ipynb&quot; target=&quot;_blank&quot;&gt;Github Repository/Explainer Notebook&lt;/a&gt; for a more in-depth presentation of the data processing behind our analysis. For now, let's dive right in!
        &lt;/p&gt;
&lt;h2&gt;&quot;The Greatest Sunset For A Sight of New York's Skyline&quot;&lt;/h2&gt;
    &lt;div&gt;
        &lt;p&gt;
        So, the title for this section is a paraphrase of a slightly longer quote by the influential - and somewhat controversial - philosopher Ayn Rand. The skyline of New York City is iconic. Just as the history of hopeful immigrants arriving to New York City on boats from Europe is a central part of the city's identity, so are its towering skyscrapers. The physical appearance of the city has come to shape its economic, social, and cultural fabric. Take for instance this very popular picture from 1932 of a band of construction workers taking their lunch break on a beam floating high above the streets of New York. The picture on the right shows the characters from the hugely popular sitcome &lt;i&gt;Friends&lt;/i&gt;, doing more of less the same thing.
        &lt;/p&gt;
    &lt;/div&gt;
    &lt;h4&gt;The Skyscrabers of New York City&lt;/h4&gt;
    &lt;div style=&quot;display: flex; justify-content: center;&quot;&gt;
    &lt;img style=&quot;width: 39%; height: 30%; margin-right: 1%;&quot; src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Lunch_atop_a_Skyscraper_-_Charles_Clyde_Ebbets.jpg/1280px-Lunch_atop_a_Skyscraper_-_Charles_Clyde_Ebbets.jpg&quot; /&gt;
    &lt;img style=&quot;width: 55%; height: 10%; margin-left: 5%;&quot; src=&quot;https://i.pinimg.com/originals/e5/7a/29/e57a29d29399922bd29bc220ce794a42.jpg&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        The history of how New York City came to be The Big Apple - economicaly, socially, and culturally - thus have to include the history of how the city developed its physical form. Therefore, this will also be our point of departure.
        &lt;br /&gt;&lt;br /&gt;
        In &lt;b&gt;Figure 1&lt;/b&gt;, we plot a temporal heatmap of the geographical development of New York City's constructional body, dating all the way from 1800 up until 2019. The red markers represent construction for &lt;b&gt;primarily residential use&lt;/b&gt; while the blue markers indicate &lt;b&gt;commercial/industrial construction&lt;/b&gt;. We have also outlined the five boroughs that jointly constitutes New York City: &lt;b&gt;Manhattan, Brooklyn, Bronx, Queens, and Staten Island&lt;/b&gt;.
        &lt;br /&gt;&lt;br /&gt;
        &lt;i&gt;&lt;b&gt;Please Note&lt;/b&gt;&lt;/i&gt;: Per default, the plot is paused and the &lt;i&gt;&quot;layers&quot;&lt;/i&gt; controlling whether the residential and/or commercial construction are visible are both turned off. &lt;b&gt;Turn the layers on&lt;/b&gt; through the layer-control in the top right corner and &lt;b&gt;press play&lt;/b&gt; to initiate the temporal animation. Otherwise, feel free to zoom in and explore the construction of New York City on your own!
        &lt;/p&gt;
    &lt;h2&gt;&lt;/h2&gt;
    &lt;div&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 1: Geographical Distribution of Residential and Commercial Construction over Time&lt;/h4&gt;
        &lt;embed type=&quot;text/html&quot; src=&quot;/assets/exam_assets/construction_heatmap.html&quot; width=&quot;1050px&quot; height=&quot;600px&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        Activating both the residential- and commercial &lt;i&gt;&quot;layer&quot;&lt;/i&gt; in the map and pressing play, one can see how New York City's journey from seed to apple started with residential- and industrial life making their way &lt;b&gt;from Manhattan out into Brooklyn&lt;/b&gt; during the 19th century. Quite quickly, starting around 1900, the map becomes rather cluttered and at times one can hardly spot any of the underlying map simply due to the excessive degree of construction. Both residential- and industrial life spread rapidly &lt;b&gt;out into Queens, Bronx, and Staten Island&lt;/b&gt; throughout the early 20th century, ultimately taking up nearly all available space in all five boroughs. 
        &lt;br /&gt;&lt;br /&gt;
        With this broad geographical impression of how the buildings of New York City arose over the years, let's get a little more specific in how we quantify construction. After all, all buildings are not created equal and it would be unfair to equate a single story house on Staten Island with a 100+ story skyscraper in Manhattan. &lt;b&gt;Figure 2&lt;/b&gt; displays the accumulated number of square feet constructed within each decade between 1800-2020, with all construction before 1900 grouped together. 
        &lt;/p&gt;
    &lt;div class=&quot;center&quot;&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 2: Constructed Square Feet by Decade&lt;/h4&gt;
        &lt;img src=&quot;/assets/exam_assets/squarefeet_by_decade.png&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        The relation between residential and commercial construction seems to be quite steady over time, with the highest share of commercial construction during the 1990s where approximately half of all construction was meant for commercial use. In the opposite end, the 1940s have the highest share of residential construction compared to commercial. 
        &lt;br /&gt;&lt;br /&gt;
        The immediatly most notable decade with regard to overall construction is the &lt;b&gt;1920s&lt;/b&gt; - a decade appropriately known as &quot;the Roaring Twenties&quot; or &lt;a href=&quot;https://www.encyclopedia.com/history/encyclopedias-almanacs-transcripts-and-maps/prosperity-decade-1921-1928-overview&quot; target=&quot;_blank&quot;&gt;&quot;the Prosperity Decade&quot;&lt;/a&gt;. More than 800 million square feet (roughly 74 square kilometers) of building space was constructed in New York City during that time. Nearing the end of a decade characterised by wealth, progression, and prosperity in the wake of World War I, the Roaring Twenties concluded with &lt;a href=&quot;https://en.wikipedia.org/wiki/Wall_Street_Crash_of_1929&quot; target=&quot;_blank&quot;&gt;the Wall Street Crash in October of 1929&lt;/a&gt;, hurling not just New York City's economy, but the global economy as a whole into an economic depression called &lt;a href=&quot;https://en.wikipedia.org/wiki/Great_Depression&quot; target=&quot;_blank&quot;&gt;the Great Depression&lt;/a&gt;. Being a time of recession, this might be part of the explanation for the relatively lower degree of construction in the &lt;b&gt;1930s&lt;/b&gt; compared to its preceding decade. Looking at the &lt;b&gt;1940s&lt;/b&gt; (one of the least constructional decades in 200 years) and the noticeably lower amount of construction compared to its pre- and succeeding decades, it seemes obvious to mention World War II from 1939-1945 as the main reason behind this decrease. Moving on to the &lt;b&gt;1950s and 1960s&lt;/b&gt;, both decades are rather productive with regard to construction in New York City. Business was once again booming during the &lt;a href=&quot;https://www.exploros.com/summary/Economy-in-the-1950s&quot; target=&quot;_blank&quot;&gt;&quot;the prosperous 50s&quot;&lt;/a&gt; and &lt;a href=&quot;https://www.venstre.dk/partiet/skoleweb/politisk-historie/velfaerd-og-vaelgerskred/de-glade-tressere&quot; target=&quot;_blank&quot;&gt;&quot;the happy 60s&quot;&lt;/a&gt; (a danish nickname for the decade), and both periods are characterised by economic growth. Old habits die hard and - once again - a period of growth is followed by a period of recession. From a constructional standpoint, the &lt;b&gt;1970s, 1980s, and 1990s&lt;/b&gt; stand out as being among the least productive in shaping the physical fabric of New York City - especially with regard to residential construction. From a broader, historical standpoint, the 1970s hosted a &lt;a href=&quot;https://en.wikipedia.org/wiki/1970s_energy_crisis&quot; target=&quot;_blank&quot;&gt; global energy crisis&lt;/a&gt; while both the 1970s and 1980s mark a particularly challenging period in New York City's history with regard to &lt;a href=&quot;https://www.businessinsider.com/new-york-city-used-to-be-a-terrifying-place-photos-2013-7?r=US&amp;amp;IR=T&quot; target=&quot;_blank&quot;&gt;social challenges and crime prevention&lt;/a&gt;. The resemblance between New York City and Batman's crime-ridden city of Gotham does not come out of nothing. However, New York City was not the only metropolis with challenges and almost every larger cities during this period fared even worse than New York City (Glaeser 2005:20).  
        &lt;br /&gt;&lt;br /&gt;
        All in all, the constructional history of New York City tells a story about the world around it. Economic prosperity/depression, social tensions, energy crises, and world wars are all manifested in Figure 2. Now, let's nuance the picture even further and examine the history of residential- and commercial construction within each of the five boroughs of New York City. 
        &lt;br /&gt;&lt;br /&gt;
        &lt;b&gt;Figure 3&lt;/b&gt; presents the accumulated number of square feet constructed within each decade - just like Figure 2 - but subdivided into the boroughs of New York City. 
        &lt;/p&gt;
    &lt;div&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 3: Constructed Square Feet by Decade and Borough&lt;/h4&gt;
        &lt;img src=&quot;/assets/exam_assets/squarefeet_by_borough.png&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        &lt;b&gt;Brooklyn and Manhattan&lt;/b&gt; stand out as the boroughs with the highest amount of construction during a single decade. For Manhattan, that decade is unsurprisingly the Roaring Twenties, while Brooklyn actually peaks during the Great Depression of the 1930s. Compared to the other boroughs, commercial construction has clearly been prioritized in &lt;b&gt;Manhattan&lt;/b&gt; over the years. Today, Midtown Manhattan houses New York City's &lt;a href=&quot;https://en.wikipedia.org/wiki/Central_business_district&quot; target=&quot;_blank&quot;&gt;Central Business District&lt;/a&gt; (CBD), which also happens to be the largest CBD in the world. Based on Figure 3, the foundation for this epicenter of capitalism was primarily laid during the 1920s, a period defined by &lt;a href=&quot;https://www.entrepreneur.com/growing-a-business/built-for-business-midtown-manhattan-in-the-1920s/239257&quot; target=&quot;_blank&quot;&gt;commercial transformation in Manhattan&lt;/a&gt;.
        &lt;br /&gt;&lt;br /&gt;
        From Figure 3, we find that not all boroughs are effected equally by the abovementioned social, economic, and political events - or at least that the events spark different reactions. For instance, while both Brooklyn, Manhattan, Bronx, and - to some extent - Staten Island all seem to be noticably effected by World War II during the 1940s, &lt;b&gt;Queens&lt;/b&gt; retains a rather high degree of residential construction during this time period.  
        &lt;br /&gt;&lt;br /&gt;
        Lastly, it is apparent that &lt;b&gt;Staten Island&lt;/b&gt; has considerably fewer constructed square feet compared to the other boroughs. Contrary to the others, Staten Island experienced its most constructive decades during the later half of the 20th century. This could probably be related to the fact that other boroughs are getting more and more cramped for space, while Staten Island becomes more infrastructurally connected with the rest of New York City. For instance, the renowned &lt;a href=&quot;https://en.wikipedia.org/wiki/Verrazzano-Narrows_Bridge&quot; target=&quot;_blank&quot;&gt;Verrazzano-Narrows Bridge&lt;/a&gt; was built between Brooklyn and Staten Island in 1964, allowing for easier commuting between Staten Island and the many square feet of commercial space in Manhattan - maybe. This highlights the importance of critical infrastructure in managing urban space and opening up new areas for residential inflow. 
        &lt;/p&gt;

&lt;h2&gt;A City Built By Migrants&lt;/h2&gt;
    &lt;div&gt;
        &lt;p&gt;
        So, we now have a broad impression of New York City's journey from seed to apple from the perspective of the city's physical structure. Next, we'll turn from looking at the construction of skyscrapers to looking at those whom the skyscrapers are built by and for - &lt;b&gt;the people of New York City&lt;/b&gt;. Just as the skyscrapers are an integral part of New York City's identity, so is the city's history with immigrants ariving from the &lt;i&gt;&quot;old world&quot;&lt;/i&gt; seeking a better life in the &lt;i&gt;&quot;new world&quot;&lt;/i&gt;. It's not for nothing that New York has been called &lt;a href=&quot;https://www.osc.state.ny.us/files/reports/osdc/pdf/report-7-2016.pdf&quot; target=&quot;_blank&quot;&gt;a city built by migrants&lt;/a&gt;. We'll keep the insights from the previous section on New York City's construction in mind to hopefully attain a deeper understanding of how the residents are affected by the physical construction of the city - or maybe vice versa. For instance, what happens when a city prioritizes building commercial structures rather than residential, as is the case with Manhattan? How has this affected contemporary New York City? Let's try and find out!
        &lt;br /&gt;&lt;br /&gt;
        &lt;b&gt;Figure 4&lt;/b&gt; displays the development in the population of New York City from 1900 to 2020 within each of the five boroughs and in New York City in total. Population projections for the estimated population in 2030 and 2040 are presented with dotted lines.
        &lt;/p&gt;
    &lt;div class=&quot;center&quot;&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 4: Population by Borough from 1900-2040&lt;/h4&gt;
        &lt;img src=&quot;/assets/exam_assets/population_by_borough.png&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        In Figure 4, we see that the population of New York City grew most rapidly during the early 20th century, roughly &lt;b&gt;doubling in size from 1900 to 1950&lt;/b&gt;. Subsequently, however, the population growth staggered and even &lt;b&gt;decreased between 1970 and 1980&lt;/b&gt;. Since then, the overall population has been steadily increasing for each decade, and based on the population projection, this growth will continue in the coming decades. 
        &lt;br /&gt;&lt;br /&gt;
        Looking at the individual boroughs, &lt;b&gt;Brooklyn and Queens&lt;/b&gt; have undergone the most significant population growth, with Brooklyn overtaking Manhattan as the most populous borough during the 1920s, and Queens clocking in on second place sometime during the 1950s. Recalling &lt;b&gt;Figure 3&lt;/b&gt;, we learned that construction in Brooklyn and Queens was mostly focused on residential buildings, whereas Manhattan to a higher degree prioritized commerical construction. We now see, that while &lt;b&gt;Manhattan&lt;/b&gt; started off as the most populous borough in 1900 - housing nearly half of New York City's population at the time - it's population has steadily decreased throughout the 20th century and will continue to do so judging bý the population projections. Soon, &lt;b&gt;Bronx&lt;/b&gt; will probably also overtake Manhattan. The decreasing population in Manhattan is most likely a direct result of the borough's evolution into being the &lt;a href=&quot;https://en.wikipedia.org/wiki/Central_business_district&quot; target=&quot;_blank&quot;&gt;Central Business District&lt;/a&gt; of the world, thus &lt;i&gt;pushing&lt;/i&gt; citizens out into the other boroughs. 
        &lt;br /&gt;&lt;br /&gt;
        Furthermore, we also recall from Figure 3 that construction generally descreased significantly during the 1940s in all boroughs aside from &lt;b&gt;Queens&lt;/b&gt;. In Figure 4, we see that while Brooklyn, Manhattan, Bronx, and Staten Island hardly had any population inflow, the population in Queens actually increased quite noticably during this time. We also see, that the decrease in New York City's overall population during the challenging 1970s is primarily caused by a decrease in the population in Brooklyn and Bronx, as well as a stagnation in Queens's population growth. Though Glaeser (2003) argues that New York City did relatively well during this period of time, living in New York City in the 1970s was not &lt;i&gt;&quot;all beer and skittles&quot;&lt;/i&gt;. To make matters worse, the already ongoing &lt;a href=&quot;https://en.wikipedia.org/wiki/History_of_New_York_City_(1946%E2%80%931977)&quot; target=&quot;_blank&quot;&gt;fiscal crisis&lt;/a&gt; was amplified by a large movement of middle-class residents out of the city into the suburbs, leaving a hole in the city's tax revenue reserve. This movement is apparent in Figure 4. 
        &lt;br /&gt;&lt;br /&gt;
        Also in &lt;b&gt;Staten Island&lt;/b&gt;, we see that the population is tightly linked to the constructional activity of the borough. Staten Island has a relatively small population compared to the other boroughs, but is steadily increasing its population - mostly so during the later half of the 20th century. As mentioned in Figure 3, this is probably related to the construction of critical infrastructure, such as bridges, connectiong Staten Island to the rest of New York City. 
        &lt;br /&gt;&lt;br /&gt;
        Now, let's zoom in on those who allegedly built the city; &lt;b&gt;migrants&lt;/b&gt; - or more specifically, immigrants. &lt;b&gt;Figure 5&lt;/b&gt; consists of two parts; On top, it presents the foreign born population of New York City and its boroughs from 1900 to 2010. Below, the share of foreign born relative to the total population is plotted. 
        &lt;/p&gt;
    &lt;div class=&quot;center&quot;&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 5: Foreign Born Population by Borough from 1900-2010&lt;/h4&gt;
        &lt;img src=&quot;/assets/exam_assets/foreign_And_share_population_by_borough.png&quot; /&gt;
    &lt;/div&gt;
    &lt;br /&gt;
        &lt;p&gt;
        Alright, so we are back at the picture from the introduction where seaborne travellers greet the Statue of Liberty hello. In &lt;b&gt;Figure 5&lt;/b&gt;, it is apparant that especially &lt;b&gt;Manhattan&lt;/b&gt; consisted of a rather large share of foreign borns at the entrance to the 20th century, with almost half (corresponding to roughly 1 million people) of Manhattan's population being born in a different country in &lt;b&gt;1910&lt;/b&gt;. However, throughout the following decades, all the way up &lt;b&gt;until 1970&lt;/b&gt;, Manhattan has seen a constant decrease both in the total number of foreign borns and their relative share of the total population. In &lt;b&gt;1970&lt;/b&gt;, only about 20% - or 500.000 people - of Manhattans population were foreign born. In fact, all of the boroughs - aside from Queens - saw a decrease in both the total and relative number of foreign borns from around &lt;b&gt;1930 to 1970&lt;/b&gt; - recall from &lt;b&gt;Figure 4&lt;/b&gt; that New York City generally experienced a population growth during this period. We now know that this growth cannot be attributed to an inflow of foreign born migration.  The drop in both the total number and the share indicate that the decrease in the foreign born population is not due to a general migration out of the boroughs of New York City, but rather because specifically the foreign born population either moves out or - well - dies. In &lt;b&gt;1921&lt;/b&gt;, the United States enforced a new immigration policy called the &lt;a href=&quot;https://en.wikipedia.org/wiki/Emergency_Quota_Act&quot; target=&quot;_blank&quot;&gt;Emergency Quota Act&lt;/a&gt;, which &lt;b&gt;restricted immigration quite heavily&lt;/b&gt; based on the nationalities of those already residing in the US. The Emergency Quota Act is a central part of US immigration history and is inevitably reflected in Figure 5. 
        &lt;br /&gt;&lt;br /&gt;
        From &lt;b&gt;1970 and onward&lt;/b&gt;, all boroughs have undergone a steady increase in foreign born residents - both in total and in the share of the population. In 1965, the &lt;a href=&quot;https://www.pewresearch.org/short-reads/2015/09/30/how-u-s-immigration-laws-and-rules-have-changed-through-history/&quot; target=&quot;_blank&quot;&gt;Immigration and Nationality Act of 1965&lt;/a&gt; was passed, abolishing the Emergency Quota Act of 1921 in favor of a less restrictive - and less discriminating - immigration policy. The effects of this law are obvious in Figure 5. The increasing foreign born population could also have something to do with the abovementioned movement of middle-class residents out of the city and into the suburbs, leaving space for foreign born residents to take up. Especially &lt;b&gt;Queens&lt;/b&gt; have had a noticable inflow of foreign born residents. Almost inversely mirroring the development in Manhattan, Queens have gone from housing hardly any foreign born residents in 1900, to having roughly 1 million foreign born inhabitants in 2010, constituting nearly half of the boroughs population. 
        &lt;/p&gt;
&lt;h2&gt;Bus-Proof Overpasses and Racial Segregation&lt;/h2&gt;
    &lt;div&gt;
        &lt;p&gt;
        New York City's triumph - as described by Glaeser (2005) - is undeniable but also rather simplified. Maybe even somewhat sugar coated. Yes, New York City is populous and contributed with a high GDP, but the city is not without its problems. We have already talked about the social distress during the 1970, with &lt;a href=&quot;https://www.businessinsider.com/new-york-city-used-to-be-a-terrifying-place-photos-2013-7?r=US&amp;amp;IR=T&quot; target=&quot;_blank&quot;&gt;soaring crime rates, heroin and cocain abuse, and corruption&lt;/a&gt;. Another example of the city's history with social tension is the infamous and contested story about instructions to design certain &lt;a href=&quot;https://www.bloomberg.com/news/articles/2017-07-09/robert-moses-and-his-racist-parkway-explained&quot; target=&quot;_blank&quot;&gt;overpasses to be too low for busses to go under them&lt;/a&gt; in order to keep black and Puerto Rican families away from certain areas. These racial groups would generally not own cars, thus relying on busses for transportation. Whether true or not, the existence of such stories reflects that racial tension and challenges is not a foreign debate in New York City. This section will look further into this debate.
        &lt;br /&gt;&lt;br /&gt;
        Condensing everything we have learned, we now have a broad but solid impression of the evolution of both the physical and social development of New York City over the previous 100-odd years. Next, we wish to take a more contemporary look at New York City and how its physical and social development manifests itself in the city's residential composition today. Concretely, we want to take a look at neighborhood segregation in New York City from a racial perspective. In a multicultural melting pot such as New York City, which geographical patterns emerge when one observe the city through a racial lens. For instance, how is the relatively high degree of commercial construction in Manhattan during the 20th century reflected in the characteristics of contemporary Manhattanites? 
        &lt;br /&gt;&lt;br /&gt;
        &lt;b&gt;Figure 6&lt;/b&gt; show the respective share of white-, black-, asian- and hispanic/latino residents within each &lt;a href=&quot;https://en.wikipedia.org/wiki/Census_tract#United_States&quot; target=&quot;_blank&quot;&gt;neighborhood&lt;/a&gt; of New York City. &lt;i&gt;&lt;b&gt;Switch between racial groups using the drop-down menu&lt;/b&gt;&lt;/i&gt; in the plot. The data is based on self-reported racial affiliation in the &lt;a href=&quot;https://www.census.gov/programs-surveys/acs&quot; target=&quot;_blank&quot;&gt;American Community Survey&lt;/a&gt; where respondents are able to choose multiple races to accommodate for mixed-race citizens. Thus, the reported share can in principle sum to more than 100% within a neighborhood. 
        &lt;/p&gt;
    &lt;div&gt;
        &lt;h4 style=&quot;text-align:center&quot;&gt;Figure 6: New York City's Racial Composition in 2021&lt;/h4&gt;
        &lt;embed type=&quot;text/html&quot; src=&quot;/assets/exam_assets/interactive_race_distribution_NYC_tracts.html&quot; width=&quot;1050px&quot; height=&quot;650px&quot; /&gt;
    &lt;/div&gt;
        &lt;p&gt;
        Overall, &lt;b&gt;Figure 6&lt;/b&gt; shows that the neighborhoods of New York City are highly segregated with regard to racial characteristics. Some neighborhoods are almost inhabited entirely by residents belonging to the same single racial group. &lt;b&gt;The white population&lt;/b&gt; is the most prevalent in New York City, mainly clustered in Manhattan, Brooklyn and Staten Island. &lt;b&gt;The asian population&lt;/b&gt; seem to live rather close to the white population. Notice for instance the small enclave in the southern tip of Manhattan (Chinatown) or the one in the western part of Brooklyn. Other than that, the asian population is mostly concentrated in the northern part of Queens. &lt;b&gt;The black population&lt;/b&gt; is more prevalent than the asian population and is mainly concentrated over two larger areas in the southern parts of Brooklyn and Queens. Bronx also houses a noticable share of the black population. This borough, however, is predominantly inhabited by &lt;b&gt;the hispanic/latino population&lt;/b&gt;, who also appear to have a community in the northern part of Queens. For a side-by-side comparison of the distribution of all four racial groups, click &lt;a href=&quot; https://raw.githubusercontent.com/EsbenBL/EsbenBL.github.io/main/assets/exam_assets/race_dist_by_tract.png&quot; target=&quot;_blank&quot;&gt;this link&lt;/a&gt;.
        &lt;br /&gt;&lt;br /&gt;
        Zooming in on a particular neighborhood, Jackson Heights in the north-western part of Queens &lt;a href=&quot;https://www.localize.city/blog/what-are-the-most-diverse-neighborhoods-in-nyc/&quot; target=&quot;_blank&quot;&gt;has been described&lt;/a&gt; as an ideal example of the diversified &lt;i&gt;&quot;melting pot&quot;&lt;/i&gt; of people and cultures that New York City is often praised for being. The neighborhood has a high share of foreign born residents, 100+ languages spoken, and allegedly affordable housing prices - at least compared to Manhattan. In Figure 6, we see that Jackson Heights does contain a rather diverse mix of white-, asian- and hispanic/latino residents. However, the neighborhood only have a modest share of black citizens, ranging between 1 and 3 percent.
        &lt;br /&gt;&lt;br /&gt;
        Maybe the idea of New York City as a highly diversified melting pot is not exactly the most fitting concept in relation to contemporary residential patterns of the different racial groups in New York City - definitely not generally speaking. Rather, Figure 6 displays a city characterized by a rather remarkable degree of racial segregation, with various enclaved communities scattered across the city and a noticable predomination of white residents on Staten Island and Manhattan. Recalling the question posed in the introduction to this section, a general characteristic of the contemporary Manhattanite would be that he/she is white...generally. Nearing the end of our data driven story about New York City's &lt;i&gt;&quot;triumphant&quot;&lt;/i&gt; journey from seed to apple, we invite the reader to interact with Figure 6, exploring specific neighborhoods and their racial composition on their own.  
        &lt;/p&gt;
&lt;h2&gt;Concluding Thoughts and What's Next?&lt;/h2&gt;
    &lt;div&gt;
        &lt;p&gt;
        We started our data story by pondering over New York's &lt;i&gt;unbroken triumph&lt;/i&gt; as a city throughout the previous 200 years and counting. We sat out to gain a better understanding of New York City's triumphant journey from a small seed to the Big Apple by mapping the city's urbanisational development over the years using open data, visualisations, and statistics.
        &lt;br /&gt;&lt;br /&gt;
        &lt;b&gt;What have we learned?&lt;/b&gt; First, we saw how the constructional history of New York City tells a story about the world around it - both globally and domestically. Economic prosperity/depression, social tensions, energy crises, and world wars are all manifested in the buildings of New York. We also saw how a continuous prioritization of commercial construction in Manhattan throughout most of the 20th century - with a particular effort during the Roaring Twenties - allowed the borough to evolve into a capitalistic epicenter, earning Manhattan the title of the largest &lt;a href=&quot;https://en.wikipedia.org/wiki/Central_business_district&quot; target=&quot;_blank&quot;&gt;Central Business District in the world&lt;/a&gt; and positioning it as the &lt;a href=&quot;http://www.citymayors.com/statistics/richest-cities-2020.html&quot; target=&quot;_blank&quot;&gt;second highest GDP in the world&lt;/a&gt;. Furthermore, we explored how varying legislative action toward immigration on a national level have affected both the general and the foreign born population of New York City - &lt;a href=&quot;https://www.osc.state.ny.us/files/reports/osdc/pdf/report-7-2016.pdf&quot; target=&quot;_blank&quot;&gt;a city built by migrants&lt;/a&gt;. Lastly, we found that the idea of New York City as a highly diversified melting pot is not exactly the most fitting concept in relation to contemporary residential patterns of the different racial groups in the city. Thus, the triumphant story of New York City is not without &lt;i&gt;&quot;spectres at the feast&quot;&lt;/i&gt;.
        &lt;br /&gt;&lt;br /&gt;
        &lt;b&gt;What's next?&lt;/b&gt; We are well aware that our data narrative only tells a fraction of the story of New York City. However, it most certainly &lt;i&gt;is&lt;/i&gt; part of the city's story. An exaustive mapping of all the numerous factors that have played a part in creating New York City is too extensive and complex for this format. We have some ideas though, on where one could continue. In the beginning of this data story, we cited Ayn Rand for saying: &lt;i&gt;“The Greatest Sunset for a Sight of New York’s Skyline”&lt;/i&gt;. Perhaps it could be equally interesting to look elsewhere.  For further data driven examination of how New York City came to be a renowned metropolis, we would find it interesting to look at the social consequences of the construction of various forms of critical infrastructure over time. We already touched upon it a bit with the construction of Verrazzano-Narrows Bridge or the story of overpasses unfit for busses. It could be interesting to dive even deeper into how single structures reflect and affect the social, economic, and policial climate of a given time. Another point of departure for future exploration, could be to build upon our examination of the historical populations in the boroughs of New York City and look at the development of and relation between housing prices and migrational flows into, between, and out of the five boroughs - perhaps using a network theoretical approach. 
        &lt;br /&gt;&lt;br /&gt;
        For now, we have only caught a glimps of the story that resides in the iconic city of New York - but &lt;b&gt;what a glimps it was!&lt;/b&gt;  
        &lt;/p&gt;
&lt;h2&gt;Data&lt;/h2&gt;
    &lt;p&gt;Click this link to see how we did the data processing: &lt;a href=&quot;https://github.com/EsbenBL/social_visualization/blob/main/Exam/Explainer_notebook.ipynb&quot; target=&quot;_blank&quot;&gt;Github Repository/Explainer Notebook&lt;/a&gt;&lt;/p&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Dataset 1: Land Use in New York&lt;/h4&gt;
    &lt;p style=&quot;text-align:left&quot;&gt;
    &lt;a href=&quot;https://www.nyc.gov/site/planning/data-maps/open-data/dwn-pluto-mappluto.page&quot; target=&quot;_blank&quot;&gt;Primary Land Use Tax Lot Output (PLUTO)&lt;/a&gt; - Figure 1, 2, and 3.
    &lt;/p&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Dataset 2: Population Development and Foreign Born Population of New York&lt;/h4&gt;
    &lt;p&gt;
    &lt;a href=&quot;https://www.nyc.gov/site/planning/planning-level/nyc-population/historical-population.page&quot; target=&quot;_blank&quot;&gt;Census Information and Data - Historical Population 1900-2010, Total and Foreign Born&lt;/a&gt;, Figure 4 and 5.
    &lt;br /&gt;&lt;br /&gt;
    &lt;a href=&quot;https://www.census.gov/data/developers/data-sets/decennial-census.html&quot; target=&quot;_blank&quot;&gt;US Census Bureau's Decinnal Census - Population in 2020&lt;/a&gt;, Figure 4 and 5.
    &lt;br /&gt;&lt;br /&gt;
    &lt;a href=&quot;https://www.nyc.gov/assets/planning/download/pdf/planning-level/nyc-population/projections_report_2010_2040.pdf&quot; target=&quot;_blank&quot;&gt;NYC Planning - Population estimates for 2030-2040&lt;/a&gt;, Figure 4.
    &lt;/p&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Dataset 3: The Racial Population in New York City Neighboorhoods&lt;/h4&gt;
    &lt;p&gt;
    &lt;a href=&quot;https://www.census.gov/data/developers/data-sets/acs-5year.html&quot; target=&quot;_blank&quot;&gt;American Community Survey 5-Year Data 2021 - Race in US Census Tracts&lt;/a&gt;, Figure 6.
    &lt;/p&gt;
&lt;h2&gt;References&lt;/h2&gt;
&lt;div class=&quot;references&quot;&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Articles&lt;/h4&gt;
    &lt;p style=&quot;text-align:left&quot;&gt;
    Campanella, Thomas J. 2017: &quot;Robert Moses and His Racist Parkway, Explained&quot;, Bloomberg, Available at: &lt;a href=&quot;https://www.bloomberg.com/news/articles/2017-07-09/robert-moses-and-his-racist-parkway-explained&quot; target=&quot;_blank&quot;&gt;https://www.bloomberg.com/news/articles/2017-07-09/robert-moses-and-his-racist-parkway-explained&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    citymayors 2020: &quot;The 150 richest cities in the world by GDP in 2020&quot;, Available at: - &lt;a href=&quot;http://www.citymayors.com/statistics/richest-cities-2020.html&quot; target=&quot;_blank&quot;&gt;http://www.citymayors.com/statistics/richest-cities-2020.html&lt;/a&gt; 
    &lt;br /&gt;&lt;br /&gt;
    Cohn, D´vera 2015: &quot;How U.S. immigration laws and rules have changed through history&quot;, pewresearch.org, Available at: &lt;a href=&quot;https://www.pewresearch.org/short-reads/2015/09/30/how-u-s-immigration-laws-and-rules-have-changed-through-history/&quot; target=&quot;_blank&quot;&gt;https://www.pewresearch.org/short-reads/2015/09/30/how-u-s-immigration-laws-and-rules-have-changed-through-history/&lt;/a&gt; 
    &lt;br /&gt;&lt;br /&gt;
    DiNapoli, Thomas P. and Kenneth B. Bleiwas 2016: &quot;The Role of Immigrants in the New York City Economy&quot;, Report 7-2016, State of New York Comptroller, Available at: &lt;a href=&quot;https://www.osc.state.ny.us/files/reports/osdc/pdf/report-7-2016.pdf&quot; target=&quot;_blank&quot;&gt;https://www.osc.state.ny.us/files/reports/osdc/pdf/report-7-2016.pdf&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    exploros 2023: &quot;Economy in the 1950&quot;, Available at: &lt;a href=&quot;https://www.exploros.com/summary/Economy-in-the-1950s&quot; target=&quot;_blank&quot;&gt;https://www.exploros.com/summary/Economy-in-the-1950s&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    Glaeser, Edward L. 2005: &quot;Urban Colussus: Why is New York America´s Largest City&quot;, Economy Policy Review. Available at: &lt;a href=&quot;https://www.newyorkfed.org/medialibrary/media/research/epr/05v11n2/0512glae.pdf&quot; target=&quot;_blank&quot;&gt;https://www.newyorkfed.org/medialibrary/media/research/epr/05v11n2/0512glae.pdf&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    localize 2020:&quot;What are the most diverse neighborhoods in NYC?&quot;, Available at: &lt;a href=&quot;https://www.localize.city/blog/what-are-the-most-diverse-neighborhoods-in-nyc/&quot; target=&quot;_blank&quot;&gt;https://www.localize.city/blog/what-are-the-most-diverse-neighborhoods-in-nyc/&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    Miller, Donald 2014: &quot;Build for Business: Midtown Manhattan in the 1920s&quot;, entrepeneur, Available at: &lt;a href=&quot;https://www.entrepreneur.com/growing-a-business/built-for-business-midtown-manhattan-in-the-1920s/239257&quot; target=&quot;_blank&quot;&gt;https://www.entrepreneur.com/growing-a-business/built-for-business-midtown-manhattan-in-the-1920s/239257&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    Sterbenz, Christina 2013: &quot;New York City Used To Be A Terrifying Place&quot;, businessinsider, Available at: &lt;a href=&quot;https://www.businessinsider.com/new-york-city-used-to-be-a-terrifying-place-photos-2013-7?r=US&amp;amp;IR=T&quot; target=&quot;_blank&quot;&gt;https://www.businessinsider.com/new-york-city-used-to-be-a-terrifying-place-photos-2013-7?r=US&amp;amp;IR=T&lt;/a&gt; 
    &lt;br /&gt;&lt;br /&gt;
    Venstre 2023, &quot;De Glade Tressere&quot;, Available at: &lt;a href=&quot;https://www.venstre.dk/partiet/skoleweb/politisk-historie/velfaerd-og-vaelgerskred/de-glade-tressere&quot; target=&quot;_blank&quot;&gt;https://www.venstre.dk/partiet/skoleweb/politisk-historie/velfaerd-og-vaelgerskred/de-glade-tressere&lt;/a&gt; 
    &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Wikipedia Pages&lt;/h4&gt;
    &lt;p style=&quot;text-align:left&quot;&gt;
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Central_business_district&quot; target=&quot;_blank&quot;&gt;Central Business District&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Emergency_Quota_Act&quot; target=&quot;_blank&quot;&gt;Emergency Quota Act&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/History_of_New_York_City_(1946%E2%80%931977)&quot; target=&quot;_blank&quot;&gt;Fiscal crisis in the 1970s New York City&lt;a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/List_of_cities_by_international_visitors&quot; target=&quot;_blank&quot;&gt;Millions of turists visit New York City&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Emergency_Quota_Act&quot; target=&quot;_blank&quot;&gt;National restiction law&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Census_tract#United_States&quot; target=&quot;_blank&quot;&gt;Neighborhood for Census Tract&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/1970s_energy_crisis&quot; target=&quot;_blank&quot;&gt; The global energy crisis in the 1970s&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Great_Depression&quot; target=&quot;_blank&quot;&gt;The Great Depression&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://www.encyclopedia.com/history/encyclopedias-almanacs-transcripts-and-maps/prosperity-decade-1921-1928-overview&quot; target=&quot;_blank&quot;&gt;The Prosperity Decade&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Wall_Street_Crash_of_1929&quot; target=&quot;_blank&quot;&gt;The Wall Street Crash in October of 1929&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt; 
    &lt;a href=&quot;https://en.wikipedia.org/wiki/Verrazzano-Narrows_Bridge&quot; target=&quot;_blank&quot;&gt;Verrazzano-Narrows Bridge&lt;/a&gt;
&lt;div&gt;
    &lt;h4 style=&quot;text-align:left&quot;&gt;Special Thanks&lt;/h4&gt;
    &lt;p&gt;
    &lt;a href=&quot;https://github.com/python-visualization/folium/issues/1062&quot; target=&quot;_blank&quot;&gt;https://github.com/python-visualization/folium/issues/1062&lt;/a&gt;
    &lt;br /&gt;&lt;br /&gt;
    &lt;a href=&quot;https://tilemill-project.github.io/tilemill/docs/guides/advanced-legends/&quot; target=&quot;_blank&quot;&gt;https://tilemill-project.github.io/tilemill/docs/guides/advanced-legends/&lt;/a&gt;
    &lt;/p&gt;
&lt;/div&gt;&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</content><author><name></name></author><summary type="html"></summary></entry></feed>