美國州地圖
美國州地圖依你的資料替 50 州、華盛頓特區與波多黎各上色,點任何一州可以看它的郡。州界由郡界合成,兩層完全對齊;阿拉斯加、夏威夷與波多黎各畫在左下的插圖。
可以選單色或雙極色階、線性、對數或依名次,也可以依類別上色;還能切換成依數值決定面積的變形地圖、可畫成圓餅的泡泡,或立體的柱塊。可下載 SVG、PNG 或分享連結。
設定資料
貼上、上傳資料,或用範例資料開始製作這張圖表。
資料格式
每州一列,或每個郡一列並附上它的州。郡空白的那一列是州的值;沒有的州由郡加總。名稱、郵遞縮寫或 FIPS 代碼都可以。
| 欄位 | 型態 |
|---|
state必填 | 文字 州名(California)、郵遞縮寫(CA)或 2 碼 FIPS。 |
county選填 | 文字 郡名稱(Los Angeles 或 Los Angeles County)或 5 碼 FIPS。空白或寫 total 的那一列是州本身的值。 |
value選填 | 數字 熱度顏色與立體高度。 |
size選填 | 數字 泡泡大小與變形地圖的面積;沒有綁定時用 value。 |
category選填 | 類別 依類別給每個區域不同的顏色。 |
parts選填 | 數字 兩欄以上時,泡泡畫成圓餅,例如男 / 女。 |
範例
| state | 郡 | density |
|---|
| California | | 97.5 |
| California | Los Angeles County | 921.9 |
| California | San Francisco | 6832 |
| Texas | | 46.9 |
| Alaska | | 0.5 |
適合的使用時機
- 比較各州、各郡的統計,例如人口、所得或選舉結果。
- 兩層一起看:點州看它的郡,或一開始就全部顯示郡。
- 用泡泡裡的圓餅比較組成,或用變形地圖、立體強調大小。
不適合的情況
- 主要反映人口多寡的總數;建議改用人均等比例。
- 需要比較精確數值時;排序過的長條圖更準確。
- 只有單一州的資料時,請改用該州的地圖(usmap@<州>)。
使用技巧
- 少數區域特別大時,改用對數或依名次的色階。
- 在郡的設定開啟放大,點州時會放大到那一州。
- 每一州都有自己的郡地圖,見 makechart.io/chartset/maps/united-states/。
相關圖表
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.
Set up data
Paste, upload or pick sample data to make this chart.
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. |
Example
| 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/.
Related charts