US county map, choropleth

In CDP Data Visualization Map visual, you can plot measurements, as areas, over US County regions.

A county map of the United States shows a comparison of measurement values across US States.

The following steps extend the work completed in State map, choropleth, and demonstrate how to create a map visual on the dataset US County Populations [data source samples.us_counties]. It produces colored regions for the measurements that correspond to the county field.

  1. Clone the US State Population - Choropleth Map visual that we developed in the article State map, choropleth.
  2. Under Dimensions, select ctyname and add it to the Geo shelf.

    Click on the field to open the Field Properties menu, expand the Change Type option, and select the Geo Type County.

    Alias the field ctyname as County; see Alias.

  3. Click Refresh Visual.

    The map visual appears.

    US County Population Choropleth
  4. If not already selected, select the Enable pan and Zoom and Zoom to active area options, as described in Customizing zoom.
  5. [Optional] Under Dimensions, select stname and add it to the Filters shelf. When the Filter for stname window modal appears, select California in the Values tab, and click Apply.
  6. Again, click Refresh Visual.

    Note that the map automatically zooms in to show detail of California.

    County Population Map Regions, California
  7. Click (pencil icon) next to the title of the visualization to edit it, and enter the new name.
  8. Change the title to US County Population - Choropleth Map.
  9. At the top left corner of the Visual Designer, click Save.