Arc map

Displays connections between pairs of points on a world map.

Updated 2 months ago to v2.0.0 by Flourish team

How to use this template

What's it for?

Use this template to visualise flows between locations, or journeys.

How to get started

  1. You'll need two CSV or Excel files. One will contain the locations of the points shown on your map - the start and end points of your arcs. The other will contain the details of the arcs themselves.
  2. The locations file will need (at a minimum) columns for the location identifier, latitude and longitude. Here's an example:
    airport_id latitude longitude
    1 -6.081689835 145.3919983
    2 -5.207079887 145.7890015
    3 -5.826789856 144.2960052
  1. The arcs file will need (at a minimum) columns for the source ID and target ID of the arc. You can also include columns that can be used to specify the colour or thickness of the arc. Here's an example:
    source_id target_id airline
    1 2 American Airlines
    2 3 American Airlines
    1 3 United Airlines

Not sure how to upload your data to Flourish? See our handy guide


How do I reset the initial zoom and centre of the map? For the moment, you need to do this: (1) Create a story from your visualisation (2) Zoom and pan the slide to adjust the zoom and centre of the map (3) In the left-hand menu, under "Navigation", choose "None" (4) Publish the story.

How do I change the colour of the arcs? Two methods. If you'd like them all to be the same colour, use the settings in the settings panel. If you'd like the colours to vary with some property of the data, select a "Category" column in the data panel. Then return to the settings panel and choose the Categorical colour option.

How do I change the thickness of the arcs? Two methods. If you'd like to make all the arcs thicker or thinner, just use the "Thickness" setting to do so. If you'd like the thickness to vary with some property of the data, select a "Value" column in the data panel. Then return to the settings panel and choose the Categorical colour option.

How can I highlight different points on the map? Create a story from your visualisation, then add multiple slides to highlight different views of the data. See the example story below.



Created by the Flourish team, using and Mapbox GL JS. Want to see additional features? Let us know at

API information

Explains to developers how to use this template with the Flourish Live API.

template: @flourish/3d-arc-map

version: 2


arc.arc_thickness number


arc.brushing_enabled boolean

Brushing enabled.

arc.brushing_brush_source boolean

Brush source.

arc.brushing_brush_target boolean

Brush target.

arc.brushing_brush_radius number

Brush radius (meters).

arc.arc_palette_enabled boolean


Allowed values:

  • false (Basic)
  • true (Categorical)

arc.arc_source_color color

Source color.

arc.arc_source_opacity number

Source opacity.

Max: 1

arc.arc_target_color color

Target color.

arc.arc_target_opacity number

Target opacity.

Max: 1

arc.arc_palette.palette colors


arc.arc_palette.extend boolean

Auto-extend. Automatically generate additional colours when needed to avoid the palette colours being used more than once. Added colours are based on the average lightness and chroma values of the palette. This works best if the palette’s colours do not have very high or low saturation.

arc.arc_palette.advanced boolean

Fine tune. Fine tune how additional colours are added to the palette.

arc.arc_palette.hue_rotation_angle number

Hue rotation for added colours. Angle, in degrees in HCL colourspace, between one generated colour and the next. The default value, ~360/(Golden ratio), ensures adjacent hues are not too similar.

Max: 360

arc.arc_palette.custom_palette text

Custom overrides. Type the name of the entity whose colour you want to set, a colon and then a colour (using a name, hex-code or rgb declaration). Multiple colours can be set using multiple lines. For example:<br /><hr />Party 1: red<br />Party 2: #4455AA<br />Party 3: rgb(30,168,26)


map.style_base string

Map style.

Allowed values:

  • dark-matter (Dark Matter)
  • positron (Positron)
  • osm-bright (OSM Bright)
  • klokantech-basic (Klokantech Basic)
  • klokantech-3d (Klokantech 3D)
  • klokantech-terrain (Klokantech Terrain)
  • fiord-color (Fiord)
  • toner (Toner)

map.style_show_labels boolean

Display labels.

map.map_zoom_min number

Min zoom.

Max: 22

map.map_zoom_max number

Max zoom.

Max: 22

map.map_bound_position boolean

Limit viewport bounds.

map.map_lat_min number

Min latitude.

Min: -90

Max: 90

map.map_lat_max number

Max latitude.

Min: -90

Max: 90

map.map_lng_min number

Min longitude.

Min: -180

Max: 180

map.map_lng_max number

Max longitude.

Min: -180

Max: 180

map.controls_geolocator_enabled boolean

Use geolocator control.

map.controls_geolocator_alignment string

Geolocator control position.

Allowed values:

  • top-left (Top left)
  • top-right (Top right)
  • bottom-left (Bottom left)
  • bottom-right (Bottom right)

map.controls_fullscreen_enabled boolean

Use fullscreen control.

map.controls_fullscreen_alignment string

Fullscreen control position.

Allowed values:

  • top-left (Top left)
  • top-right (Top right)
  • bottom-left (Bottom left)
  • bottom-right (Bottom right)


filter_controls.type string

Data type.

Allowed values:

  • categorical (Categories)
  • temporal (Dates/times)
  • numeric (Numbers)

filter_controls.temporal_format string

Date/time format in data. The date/time format in your data sheet. Used only to sort the data, if required. If your format isn’t in the list, you can enter a custom format using d3-time-format syntax. See for details.

Predefined values:

  • %Y-%m-%dT%H:%M:%S.%LZ (1986-01-28T11:39:13.000Z)
  • %Y-%m-%d (1986-01-28)
  • %m/%d/%Y (01/28/1986)
  • %d-%b-%y (28-Jan-86)
  • %m/%Y (01/1986)
  • %b %Y (Jan 1986)
  • %B %d (January 28)
  • %d %b (28 Jan)
  • %Y (1986)
  • %B (January)
  • %b (Jan)
  • %A (Tuesday)
  • %a (Tue)
  • %X (11:39:13)
  • %H:%M %p (11:39 AM)
  • %H:%M (11:39)

filter_controls.sort boolean

Sort menu.

filter_controls.control string


Allowed values:

  • auto (Auto)
  • dropdown (Dropdown menu)
  • slider (Slider)
  • grouped-buttons (Button group)
  • floating-buttons (Buttons)

filter_controls.width number

Menu width.

Min: 150

filter_controls.play_button boolean

Include play button.

filter_controls.step_time number

Time between steps when playing. Measured in seconds, positive values move the slider left to right, negative values move the slider right to left.

filter_controls.loop boolean

Loop on play.

filter_controls.restart_pause number

Pause before loop restarts. Measured in seconds and in addition to the regular step time displayed above.

filter_controls.dropdown_icon_color color

Icon color.

filter_controls.slider_handle_color color

Handle and button color.

filter_controls.slider_track_color color

Track and label color.


popup.show_popups boolean


Allowed values:

  • true (Enabled)
  • false (Disabled)

popup.is_custom boolean

Popup contents.

Allowed values:

  • false (Auto)
  • true (Custom content)

popup.custom_template text

Popup content. The text to appear in the popup. You can use {{column_name}} to add a value from your data. It must be in a selected column, but you can add columns to “Metadata” if you just want to include them for use in the popup. Advanced users can include HTML to apply layouts, formatting, images, etc.

popup.show_pointer boolean


popup.show_shadow boolean


popup.style_popups boolean

Custom styling.

popup.text_color color

Text colour.

popup.align string


Allowed values:

  • left (fa-align-left)
  • center (fa-align-center)
  • right (fa-align-right)

popup.font_size number

Font size.

Min: 1

popup.fill_color color

Fill colour.

popup.opacity number

Fill opacity.

Max: 1

popup.padding number


popup.border_radius number

Radius. Corner radius of popup