Skip to main content

Maps

Plotly map charts.

5 nodes. Right-click any node in the editor to read this documentation in the app.

Maps​

🗺️ Choropleth Map​

id plotly_choropleth · Maps · Python export: yes

Colour regions by a numeric value using Plotly's built-in shapes — US states (two-letter codes), countries (ISO-3 codes or names). Works offline; blank column fields use the first two columns (region, value).

Inputs

PortTypeDescription
dataframeDataFrameTable with one row per region: a region code / name and a value.

Outputs

PortTypeDescription
dataframeDataFrameThe input table, unchanged (the map is shown on the node).

Fields

FieldTypeDefaultChoices
Locations column (codes/names)text
Value columntext
Location modeselectUSA-statesUSA-states, ISO-3, country names
Map scopeselectusaworld, usa, europe, asia, africa, north america, south america
Color scaletextBlues
TitletextChoropleth

🌡️ Map Density Heatmap​

id plotly_density_map · Maps · Python export: yes

Kernel-density heatmap over a tile map: shows where points cluster, weighted by a numeric column (sales, population, …) or by plain point count. Blank latitude / longitude fields use columns named 'lat' and 'lon'.

Inputs

PortTypeDescription
dataframeDataFrameTable with one row per point (latitude and longitude columns).

Outputs

PortTypeDescription
dataframeDataFrameThe input table, unchanged (the map is shown on the node).

Fields

FieldTypeDefaultChoices
Latitude columntextlat
Longitude columntextlon
Weight column (optional, blank = point count)text
Point radius (px)int15
Map styleselectopen-street-mapopen-street-map, carto-positron, carto-darkmatter, white-bg
Zoomfloat3.0
TitletextDensity Map

⬡ Map Hexbin​

id plotly_hexbin_map · Maps · Python export: yes

Bin points into hexagonal cells and colour each by its point count or by an aggregate (sum, average, min, max) of a numeric column. Blank latitude / longitude fields use columns named 'lat' and 'lon'.

Inputs

PortTypeDescription
dataframeDataFrameTable with one row per point (latitude and longitude columns).

Outputs

PortTypeDescription
dataframeDataFrameThe input table, unchanged (the map is shown on the node).

Fields

FieldTypeDefaultChoices
Latitude columntextlat
Longitude columntextlon
Aggregate column (optional, blank = count)text
Aggregationselectcountcount, sum, average, min, max
Hex grid resolutionint15
Opacityfloat0.75
Map styleselectopen-street-mapopen-street-map, carto-positron, carto-darkmatter, white-bg
Zoomfloat3.0
TitletextHexbin Map

✈️ Map Lines​

id plotly_lines_map · Maps · Python export: yes

Draw each row as a line between a start and an end latitude / longitude — flight routes, supply lines, or the edges of a graph whose nodes have real coordinates. Optionally label lines on hover, scale their width by a column, and mark the endpoints.

Inputs

PortTypeDescription
dataframeDataFrameTable with one row per line: start and end latitude / longitude columns.

Outputs

PortTypeDescription
dataframeDataFrameThe input table, unchanged (the map is shown on the node).

Fields

FieldTypeDefaultChoices
Start latitude columntextstart_lat
Start longitude columntextstart_lon
End latitude columntextend_lat
End longitude columntextend_lon
Edge label column (optional)text
Line width column (optional)text
Line colortext#636EFA
Show endpoint markerscheckboxtrue
Map scopeselectworldworld, usa, europe, asia, africa, north america, south america
TitletextLines on Map

📍 Map Scatter​

id plotly_scatter_map · Maps · Python export: yes

One marker per row on an interactive tile map, optionally sized or coloured by a numeric column and labelled on hover. Blank latitude / longitude fields use columns named 'lat' and 'lon'. No map-service token is needed.

Inputs

PortTypeDescription
dataframeDataFrameTable with one row per point (latitude and longitude columns).

Outputs

PortTypeDescription
dataframeDataFrameThe input table, unchanged (the map is shown on the node).

Fields

FieldTypeDefaultChoices
Latitude columntextlat
Longitude columntextlon
Color column (optional)text
Size column (optional)text
Hover label column (optional)text
Map styleselectopen-street-mapopen-street-map, carto-positron, carto-darkmatter, white-bg
Zoomfloat3.0
TitletextMap Scatter