Show Sidebar Hide Sidebar


Create a map with Mapbox in Chart Studio

Step 1

Mapbox Access Token

Before you can create a visualisation with mapbox, you must ensure that you have a mapbox token and that it is added to you Chart Studio account. If you need to do so, check the Mapbox Setup tutorial.

Step 2

Try an Example

Before getting started with your own dataset, you can check out an example. First, select the 'Type' menu. Hovering the mouse over the chart type icon will display three options: 1) Charts like this by Plotly users, 2) View tutorials on this chart type, and, 3) See a basic example.


Example after


Step 3

Add Your Data to Chart Studio


Step 4

Create Chart

After adding data, go to the 'Traces' section under the 'Structure' menu on the left-hand side. Choose the 'Type' of trace, then choose 'Satellite Map' under 'Maps' chart type.

chart types

Now, specify the latitude (in degrees East) and longitude (in degrees North) cooordinates from the dropdown menus.

trace values

Step 5

Style a Chart


Use the 'General' section under the 'Style' menu to set the plot title, and other layout properties.

To set the plot title, type the title text within the textbox provided under the 'Title' property.

Plot Title


Type directly title

Use the 'Traces' section under the 'Style' menu to change the properties of the trace such as the marker (points) symbol, color or size and hoverinfo.

Trace Properties

To change the color of the traces, choose either the option 'Constant' or 'Variable'.

If 'Constant' is chosen, all the points of the trace are colored in the same color. Then choose the color by clicking on the color palette.

Color Palette

If 'Variable' is chosen, each point in the trace is colored according to the data specified. Then choose the desired colorscale from the respective dropdown menu. In this plot, the option 'Variable' is chosen, as seen below.

Color main

Use the 'Color Bars' section under the 'Style' menu to change the properties of the color bar such as title, size and position, etc.

Color Bar

Similar to the plot title, the color bar title can also be entered directly on the plot interface.

Step 6

Save and Share


Save main
