1. Learn
  2. /
  3. Projects
  4. /
  5. Analyzing US Census Data in Python

Connected

Exercise

Mapping Gentrification

Now that you have determined which tracts were gentrifiable in 2000 and which were gentrifying between 2000 and 2010, you will create a choropleth map. You will create a basemap of the Census tracts from 2000, and add layers of the gentrifiable and gentrifying tracts with custom-selected colors.

Instructions

100 XP
  • Create a basemap of bk_2000 with a fill color of "white" and an edgecolor of "lightgray"
  • Filter bk_2000 to plot only the gentrifiable tracts
  • Now filter bk_2010 (Note the year) to plot only the gentrifying tracts using "red"