US state map with bubbles

CDP Data Visualization Map visual lets you plot measurements, as bubbles, over US State regions. Bubble maps display up to two measurements simultaneously: as the color of the bubble, and as the relative size of the bubble.

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

The following steps demonstrate how to create a new map visual on the dataset US County Population [data source samples.us_counties]. This produces a map with bubble marks that correspond to the total population of each state.

  1. Clone the visual that we developed in the article State map, choropleth; see Cloning a visual.
  2. [Optional] Add a measure to the Size shelf.

    Here, we plan to show the relative size of the Hispanic population across the country, so we are using the following expression in the Enter/Edit Expression editor:

    sum([h_female]+[h_male])

    See Enter or edit expressions.

  3. Change the map from choropleth to bubble marks, as described in Displaying bubbles on maps.
  4. Adjust the size range of the marks to 1-10, as described in Changing the mark size range.
  5. [Optional] Alias all the fields; see Alias.
  6. [Optional] Change the color palette or simply reverse it, as described in Change color palette of visuals and Reverse color palette of visuals.
  7. [Optional] Enable panning and zooming option, as described in Customizing zoom.
  8. Click Refresh Visual.

    The map visual appears.

    State population map
  9. Click (pencil icon) next to the title of the visualization to edit it, and enter the new name.
  10. Change the title to US State Population - Bubbles.
  11. At the top left corner of the Visual Designer, click Save.

You can move the visual (pan), zoom in and out, and see the details in the Tooltips text.