A list of values indexed by feature identifier.one of the built-in geometries within plotly: US states and world countries (see below).This can either be a supplied GeoJSON file where each feature has either an id field or some identifying value in properties or.Making choropleth maps requires two main types of input:
Introduction: main parameters for choropleth outline maps ¶ Plotly figures made with Plotly Express px.scatter_geo, px.line_geo or px.choropleth functions or containing go.Choropleth or go.Scattergeo graph objects have a go.layout.Geo object which can be used to control the appearance of the base map onto which data is plotted. This page documents how to build outline choropleth maps, but you can also build choropleth tile maps using our Mapbox trace types.īelow we show how to create Choropleth Maps using either Plotly Express' px.choropleth function or the lower-level go.Choropleth graph object. It is used to represent spatial variations of a quantity. A Choropleth Map is a map composed of colored polygons.