Population Change Estimates 2000 - 2010
Animate a Choropleth Map
This sample shows how to create a choropleth map and animate it over time. A choropleth map is a thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map, in this case the estimated % population change between 2000 and 2010 of each US county relative to the 2000 census population data. This sample uses two data files; a GeoJSON file that contains the US county boundary data, and a CSV file that contains the population data. This sample cross references the population data and adds it as properties of the county boundary. A simple polygon layer is used to render the data and the animation is accomplished by changing the fill color expression over time such that it will use a different years population change value to choose a color.