Plotly Choropleth trace struct. All top-level trace properties are struct fields. Unknown keys raise ArgumentError at construction time.
Nested properties (marker, line, etc.) accept plain maps or keyword lists — keyword lists are automatically normalised to maps before JSON encoding.
Fields
See the Plotly choropleth reference for full descriptions.
:autocolorscale— boolean:coloraxis— string (subplot id):colorbar— map (nested properties):colorscale— colorscale:customdata— data array:featureidkey— string:geo— string (subplot id):geojson— any:hoverinfo— flags: "location" | "z" | "text" | "name" | "all" | "none" | "skip":hoverlabel— map (nested properties):hovertemplate— string:hovertemplatefallback— any:hovertext— string:ids— data array:legend— string (subplot id):legendgroup— string:legendgrouptitle— map (nested properties):legendrank— number:legendwidth— number, 0:locationmode— one of: "ISO-3" | "USA-states" | "country names" | "geojson-id":locations— data array:marker— map (nested properties):meta— any:name— string:reversescale— boolean:selected— map (nested properties):selectedpoints— any:showlegend— boolean:showscale— boolean:text— string:uid— string:uirevision— any:unselected— map (nested properties):visible— one of: true | false | "legendonly":z— data array:zauto— boolean:zmax— number:zmid— number:zmin— number
Summary
Functions
Choropleth map: regions coloured by value. Construct a Choropleth trace. Raises ArgumentError on unknown keys.