CHOROPLETH
The Choropleth map shows up the spatial pattern of the rodent incidents in Buffalo. The polygons in various colors show different amounts of rodent incidents that happened in the area. In order to get the map, I upload the census tract data into Mapbox and I selected Customize Dark as my base map after I entered it into the style page. I added a new layer and selected rodent incident data as my content. It would be great to show the number of incidents in each tract by showing different colors on the map, therefore, I used Jenks natural breaks to classify the data into 5 classes. And I assigned five kinds of color to each class, therefore, people could figure out the degree of rodent incidents by looking at the color of each area easily.
By using Jenks natural breaks, I classified the rodent incident data into 5 classes. The first class is 0 to 112, the second class is 112 to 227, the third class is 227 to 308, the fourth class is 308 to 424, and the last class is 424 to 577. And I used #ffffcc, #a1dab4, #41b6c4, #2c7fb8, #253494 these five colors to represent the degree of rodent incident in various district. After I edited the choropleth map in Mapbox, I used JSFiddle to edit my code and design the layout of the description, layout, font size, center point, and zoom level to change the way that I present the map on the webpage.
From this map, we could figure out that the amount of rodent incidents goes up with the darker color in multiple regions. Most of the dark areas are concentrated in the north area of Buffalo, which means more rodent incidents happened in these places. And the color of the southwestern area is much lighter than other areas obviously, which means the rodent is safer in these regions. The spatial pattern of rodent incidents might be caused by multiple reasons, such as higher environmental conditions, low population, and sparse traffic routes in the southwestern area.
Comments