US State Map
A US state map colors the 50 states, DC and Puerto Rico by your data, and lets you open any state to see its counties. States are merged from the county boundaries, so the two levels line up exactly; Alaska, Hawaii and Puerto Rico are drawn as insets.
Choose sequential or diverging colors, a linear, log or rank scale, or categories; switch to a cartogram that sizes regions by value, bubbles that can show parts as pies, or 3D blocks. Download as SVG or PNG, or share a link.
Data format
One row per state, or per county with its state. A row with an empty county gives a state's value; states without one add up their counties. Names, postal codes and FIPS codes all work.
| Field | Type |
|---|---|
staterequired | Text State name ( California ), postal code ( CA ) or 2-digit FIPS code. |
countyoptional | Text County name ( Los Angeles, or Los Angeles County ) or 5-digit FIPS. Leave empty, or write total, for the state's own value. |
valueoptional | Number Value for the color scale and 3D height. |
sizeoptional | Number Value for bubble size and cartogram area; the value is used when this is not bound. |
categoryoptional | Category Group that colors each region with a distinct color. |
partsoptional | Number Two or more columns draw each bubble as a pie, such as male / female. |
| state | county | density |
|---|---|---|
| California | 97.5 | |
| California | Los Angeles County | 921.9 |
| California | San Francisco | 6832 |
| Texas | 46.9 | |
| Alaska | 0.5 |
When to use
- Comparing statistics across states and counties, such as population, income or election results.
- Showing both levels at once: click a state to see its counties, or show all counties.
- Comparing parts with pies in bubbles, or emphasizing magnitude with a cartogram or 3D.
When not to use
- Raw totals that mostly reflect population size; consider per-capita values instead.
- Comparing exact values; a sorted bar chart is more precise.
- Data for a single state; open that state's map ( usmap@<state> ) instead.
Tips
- Use the log or quantile scale when a few regions are far above the rest.
- Turn on zoom in the county settings to zoom into the state you click.
- Each state also has its own county map; see makechart.io/chartset/maps/united-states/.