What would a minimal example for a choropleth map in Mathematica look like?

后端 未结 5 820
抹茶落季
抹茶落季 2021-02-06 11:19

What would a minimal example for a choropleth map in Mathematica look like?

I can read in a ESRI Shapefile using Import, but do not know how to work with th

5条回答
  •  抹茶落季
    2021-02-06 11:49

    Because I cannot resist a Code Golf competition with belisarius:

    Graphics[{Hue[i~#~"Area"/10^7],i~#~"Polygon"}~Table~{i,#[]}&@CountryData]
    

    (for the same result)

提交回复
热议问题