2.1.9.2.Choropleth Maps - World
1. 使用library
2.從實際資料中繪製Choropleth Map
讀取資料
可在資料中放入想要顯示的country code, z值 (數量), label
Choropleth Map的兩個要素 Data, Layout
Data的locationmode預設為country code, 因此若locations是country code則不需指定locationmode
若資料來源是country name, 則必須在指定locationmode中指定: locationmode = "country names"
製作Choropleth Map

Previous2.1.9.1.Choropleth Maps - USANext2.1.10.Combine data analysis and visualization to tackle real world data sets
Last updated
Was this helpful?