3D map
Updated 5 months ago to v10.15.2 by Flourish team
How to use this template
Use this template for visualizing large geographic datasets over time. You can input any data with locations in latitude and longitude format as well as GeoJSON regions and polyline features, but it becomes especially powerful with data including timestamps, such as website traffic or financial transactions. Events are shown as pulses on an interactive map, optionally scaled and coloured based on the data.
In addition to the points layer, you can also add GeoJSON regions to this template. This is useful if you'd like to add (optionally extruded) regions on top of a base map along with your points.
How to get started with a 3D point map
For creating a point map, at a minimum, you just need a spreadsheet of points with columns for latitude and longitude:
latitude | longitude |
-6.081689835 | 145.3919983 |
-5.207079887 | 145.7890015 |
-5.826789856 | 144.2960052 |
This will display points on the map, but the timeline will be hidden without a Start time binding for your points. Be sure to set the date format in the "Points" section of the settings panel so that it matches your data. Keep in mind you can also overwrite the date format by using d3-time-format syntax.
timestamp |
2019-04-17T06:53:30.000Z |
2019-04-17T08:33:30.000Z |
2019-04-17T09:28:30.000Z |
The following bindings are also available:
- Counter category: Used to categorize points, and to determine their color when using a categorical color palette.
- Counter value: Determines how much each row is counted for by the counter. If not bound to a column, each row's count is treated as one.
- End time: the end time of the event in the same format as the main timestamp.
- Scale: numerical data, used to determine the scale at which to draw the event.
- Animation group: Use this to animate points between different values at different times in the timeline. Rows with the same content will animate from one set of values to another based on their start time.
- Extra info for popups: One or more columns to show in the popups.
- Label: Labels to display next to the points.
In addition to displaying your data as a point map, you can choose to visualize the points as a heatmap. Learn more about this in our help doc.
How to get started with a 3D regions map
If you would like to have a regions layer, upload your regins to the Regions tab and make sure your Geometry and Name columns are bound. You can learn more about this here.
TIP: Struggling to find the right regions for your map? Check out our GeoJSON repository where we've sourced, checked, and resized various region files ready for you to download and use in Flourish.
You can also supply the following information in your Regions layer:
- Value: Used to shade regions by a numerical value. Used with a sequential or diverging color palette.
- Height: Used to extrude regions by a numerical value.
- Category: Used to shade regions by a categorical value. Used with a categorical color
- Metadata for popups: One or more columns to show in the popups.
TIP: To extrude your regions by a value in your data, you can add a Height column binding and extrude them in the Regions settings. Learn more about this in this help doc.
How to get started with a 3D lines map
Just like your regions, your lines can be supplied in GeoJSON format. In addition to Polygons and MultiPolygons which are used in the Regions sheet, the GeoJSON uploaded to the Lines sheet can also contain Line and MultiLine features. If you upload Polygons or MultiPolygons to the Lines sheet, they won't have a fill and will look like closed lines. That means you can upload any regions to your Lines sheet and they will be rendered as lines.
You can also supply the following information in your Lines layer:
- Series: Used to describe the type of line. You may want to include both rivers and borders on your map. This binding lets you distinguish between the types of lines and will allow you to style them differently later on.
Customizing the inset map
The inset map helps the viewer put the current map view in the context of a larger area: a country in the context of the world, say, or a city in the context of a country. By default, if enabled, the inset map shows a globe. But you can set the map to show any region you like by uploading one or more regions (in GeoJSON format) to the "Inset map regions" data sheet. Alternatively, if you just want one or more countries, you can copy the relevant row(s) from Regions datasheet of our Projection Map template.
Not sure how to upload your data to Flourish? See our handy guide
FAQ
I don't have lat or lng locations, only place names You'll need to geocode your data. Various online tools, for example latlong.net, can help with this.
How do I reset the initial zoom and centre of the map? The map automatically sets its initial zoom and centre to contain all your points. If you want to override this you have two options. First: restrict the bounds of the map (under Base Map > Viewport). Second, create a story: hit the "Create a story" button and drag the map into whatever zoom/pan state you like, and it will be automatically saved. If you don't want the navigation bar at the top, choose "None" from the "Navigation" menu. You can learn more about stories here.
How can I tell a story with my map? If you'd like to give the audience a tour of the data and highlight different locations or regions one by one, create a Flourish story from your visualization, then add multiple slides to highlight different places. You can learn more about this here.
Credits
Created by the Flourish team, using open source tools including twemoji by Twitter under CC-BY 4.0, regl and mapbox-gl-js.
The default data comes from the World Bank and is licensed under CC-BY 4.0.
API information
This section documents API usage specific to this template, so for an introduction we suggest you refer to the generic API documentation instead.
template: @flourish/time-map
version: 10
Template data
There are three different formats in which you can supply data to this template. The most convenient for you to use likely depends on the source of your data, as described below.
1. Array of arrays, and a bindings object
You can supply arrays of arrays to opts.data
, which might look
like:
{ data: { regions_map: [ [ "Regions_mapColumn1Value1", "Regions_mapColumn2Value1", [ "Regions_mapColumn1Value2", "Regions_mapColumn2Value2", [ "Regions_mapColumn1Value3", "Regions_mapColumn2Value3", ... ], events: [ [ "EventsColumn1Value1", "EventsColumn2Value1", [ "EventsColumn1Value2", "EventsColumn2Value2", [ "EventsColumn1Value3", "EventsColumn2Value3", ... ], lines: [ [ "LinesColumn1Value1", "LinesColumn2Value1", [ "LinesColumn1Value2", "LinesColumn2Value2", [ "LinesColumn1Value3", "LinesColumn2Value3", ... ], regions: [ [ "RegionsColumn1Value1", "RegionsColumn2Value1", [ "RegionsColumn1Value2", "RegionsColumn2Value2", [ "RegionsColumn1Value3", "RegionsColumn2Value3", ... ] } }
where each array of arrays represents the rows in a data sheet.
To tell the API how the values from each column should be
associated with the keys that the template is expecting, you must also supply
an object attached to opts.bindings
. (The meanings of the
keys in the bindings object are documented
below.) The minimal bindings you can
supply for this template are as shown in this example:
{ template: "@flourish/time-map", version: "10", bindings: { regions_map: { }, events: { lat: 0, // index of a column in your data lon: 1, // index of a column in your data }, lines: { }, regions: { } }, data: { regions_map: [ [ "Regions_mapColumn1Value1", "Regions_mapColumn2Value1", [ "Regions_mapColumn1Value2", "Regions_mapColumn2Value2", [ "Regions_mapColumn1Value3", "Regions_mapColumn2Value3", ... ], events: [ [ "EventsColumn1Value1", "EventsColumn2Value1", [ "EventsColumn1Value2", "EventsColumn2Value2", [ "EventsColumn1Value3", "EventsColumn2Value3", ... ], lines: [ [ "LinesColumn1Value1", "LinesColumn2Value1", [ "LinesColumn1Value2", "LinesColumn2Value2", [ "LinesColumn1Value3", "LinesColumn2Value3", ... ], regions: [ [ "RegionsColumn1Value1", "RegionsColumn2Value1", [ "RegionsColumn1Value2", "RegionsColumn2Value2", [ "RegionsColumn1Value3", "RegionsColumn2Value3", ... ] } }
All possible bindings that you can supply are shown in this example:
{ template: "@flourish/time-map", version: "10", bindings: { regions_map: { geojson: 0, // index of a column in your data name: 1, // index of a column in your data value: [2, 3, ...], // index(es) of column(s) in your data height: 4, // index of a column in your data category: 5, // index of a column in your data metadata: [6, 7, ...], // index(es) of column(s) in your data }, events: { lat: 0, // index of a column in your data lon: 1, // index of a column in your data scale: 2, // index of a column in your data color: 3, // index of a column in your data start_timestamp: 4, // index of a column in your data end_timestamp: 5, // index of a column in your data group: 6, // index of a column in your data category: 7, // index of a column in your data count: 8, // index of a column in your data metadata: [9, 10, ...], // index(es) of column(s) in your data label: 11, // index of a column in your data }, lines: { geojson: 0, // index of a column in your data series: 1, // index of a column in your data }, regions: { geojson: 0, // index of a column in your data } }, data: { regions_map: [ [ "Regions_mapColumn1Value1", "Regions_mapColumn2Value1", [ "Regions_mapColumn1Value2", "Regions_mapColumn2Value2", [ "Regions_mapColumn1Value3", "Regions_mapColumn2Value3", ... ], events: [ [ "EventsColumn1Value1", "EventsColumn2Value1", [ "EventsColumn1Value2", "EventsColumn2Value2", [ "EventsColumn1Value3", "EventsColumn2Value3", ... ], lines: [ [ "LinesColumn1Value1", "LinesColumn2Value1", [ "LinesColumn1Value2", "LinesColumn2Value2", [ "LinesColumn1Value3", "LinesColumn2Value3", ... ], regions: [ [ "RegionsColumn1Value1", "RegionsColumn2Value1", [ "RegionsColumn1Value2", "RegionsColumn2Value2", [ "RegionsColumn1Value3", "RegionsColumn2Value3", ... ] } }
2. Array of objects with arbitrary keys, and a bindings object
This format is most likely useful when you have data from an external source,
such as CSV data loaded from d3-dsv.
You should supply this attached to the opts.data
, which might look
like:
{ regions_map: [ { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, ... ], events: [ { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, ... ], lines: [ { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, ... ], regions: [ { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, ... ] }
... but with the keys being the column headers from your
source data instead. You must also supply an object attached to
opts.bindings
. The minimal bindings you can
supply for this template are as shown in this example:
{ template: "@flourish/time-map", version: "10", bindings: { regions_map: { }, events: { lat: "EventsHeader1", lon: "EventsHeader2", }, lines: { }, regions: { } }, data: { regions_map: [ { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, ... ], events: [ { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, ... ], lines: [ { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, ... ], regions: [ { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, ... ] } }
All possible bindings that you can supply are shown in this example:
{ template: "@flourish/time-map", version: "10", bindings: { regions_map: { geojson: "Regions_mapHeader1", name: "Regions_mapHeader2", value: ["Regions_mapHeader3", "Regions_mapHeader4", ...], height: "Regions_mapHeader5", category: "Regions_mapHeader6", metadata: ["Regions_mapHeader7", "Regions_mapHeader8", ...], }, events: { lat: "EventsHeader1", lon: "EventsHeader2", scale: "EventsHeader3", color: "EventsHeader4", start_timestamp: "EventsHeader5", end_timestamp: "EventsHeader6", group: "EventsHeader7", category: "EventsHeader8", count: "EventsHeader9", metadata: ["EventsHeader10", "EventsHeader11", ...], label: "EventsHeader12", }, lines: { geojson: "LinesHeader1", series: "LinesHeader2", }, regions: { geojson: "RegionsHeader1", } }, data: { regions_map: [ { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, { "Regions_mapHeader1": ..., "Regions_mapHeader2": ..., ... }, ... ], events: [ { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, { "EventsHeader1": ..., "EventsHeader2": ..., ... }, ... ], lines: [ { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, { "LinesHeader1": ..., "LinesHeader2": ..., ... }, ... ], regions: [ { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, { "RegionsHeader1": ..., "RegionsHeader2": ..., ... }, ... ] } }
(As before, the keys containing "Header" would be replaced by column names from your data source.)
3. Array of objects with template-defined keys
There is an alternative format you can use, which is likely to be easier to
use if your data is not from a spreadsheet source. With this alternative format
you supply your data to the template as
an array of objects, attached to opts.data
, where the keys must
be those used by the template, as documented below. In this case
there is no need to supply a bindings object, since the key names are already
those expected by the template. The required properties in the data
object are as follows (scroll down for a
description of what each property is):
{ template: "@flourish/time-map", version: "10", data: { regions_map: [ { value: [...], metadata: [...] }, ... ], events: [ { lat: ..., lon: ..., metadata: [...] }, ... ] }, ... }
And the full list of all possible properties is as follows:
{ template: "@flourish/time-map", version: "10", data: { regions_map: [ { geojson: ..., name: ..., value: [...], height: ..., category: ..., metadata: [...] }, ... ], events: [ { lat: ..., lon: ..., scale: ..., color: ..., start_timestamp: ..., end_timestamp: ..., group: ..., category: ..., count: ..., metadata: [...], label: ... }, ... ], lines: [ { geojson: ..., series: ... }, ... ], regions: [ { geojson: ... }, ... ] }, ... }
Meanings of the template data keys:
- regions_map.geojson: geojson
- regions_map.name: The name that appears in popups and panels.
- regions_map.value: value
- regions_map.height: A numerical column to extrude your regions by.
- regions_map.category: category
- regions_map.metadata: One or more columns of information to include in popups and panels.
- events.lat: Latitude for each circle, specified in decimal degrees.
- events.lon: Longitude for each circle, specified in decimal degrees.
- events.scale: Determines the size of the circles.
- events.color: Determines the color of the circles.
- events.start_timestamp: Determines when the circles appear. If left blank all the points will appear at once. If selected, creates a timeline and shows dots over time. The date format must be specified in the settings panel.
- events.end_timestamp: Determines when the circles disappear. If not specified the circle remains for the default duration specified in the settings panel.
- events.group: Use this to animate points between different values at different times in the timeline. Rows with the same content will animate from one set of values to another based on their start time.
- events.category: Used to categorise points, and to determine their color when using a categorical color palette.
- events.count: Determines how much each row is counted for by the counter. If not bound to a column, each row's count is treated as one.
- events.metadata: One or more columns of information to include in popups and panels.
- events.label: label
- lines.geojson: Columns containing GeoJSON geometry that describe a line (typically geometry type will be Line and MultiLine, but you can also use MultiPolygon or Polygon).
- lines.series: Values in the selected column can be used to define specific color and line styles in the settings panel.
- regions.geojson: geojson
Template settings
Options for opts.state
.
Base map
map.map_type string
Map type. Allowed values:
map.style_enabled boolean
Background map. Allowed values:
map.style_base string
Map style. Allowed values:
map.style_custom_enabled boolean
Customize layers.
map.style_monochrome_color color
Map base color.
map.style_custom_toner.primary color
Primary.
map.style_custom_toner.secondary color
Secondary.
map.style_custom_json code
Custom JSON style data. Include your own custom mapbox-gl-js style for full control over your maps' appearance. Note that we use tiles that match the OpenMapTiles schema, so it's recommended that you use Maputnik to create your styles.
map.style_custom_palette.ground color
Ground.
map.style_custom_palette.ocean color
Ocean.
map.style_custom_palette.grass color
Nature.
map.style_custom_palette.buildings color
Buildings.
map.style_custom_palette.road color
Roads.
map.style_custom_palette.road_outline color
Road outlines.
map.style_custom_palette.text_fill color
Text.
map.style_custom_palette.text_opacity number
Text opacity. Max: 1
map.style_custom_palette.text_stroke color
Text outlines.
map.style_custom_palette.halo_opacity number
Outline opacity. Max: 1
map.style_custom_palette.border color
State/national borders.
map.style_font_face string
Font override. Replace the map's default fonts with a font of your choice. Allowed values:
map.style_font_weight number
Weight. Min: 100 Max: 900
map.style_show_borders boolean
Display borders.
map.style_show_roads boolean
Display transport.
map.style_show_labels boolean
Display labels.
map.style_show_landuse boolean
Display land use.
map.style_show_water boolean
Display water.
map.projection_type string
Projection. Allowed values:
map.projection_background_color color
Background color.
map.projection_ocean_color color
Ocean color.
map.style_raster.tile_url string
Tile URL.
map.style_raster.scheme string
Tile scheme. Allowed values:
map.style_raster.tile_size string
Tile size. Allowed values:
map.style_raster.minzoom number
Min. tile zoom. Max: 22
map.style_raster.maxzoom number
Max. tile zoom. Max: 22
map.style_raster.attribution text
Tile attribution.
map.map_language_auto boolean
Detect language. Automatically changes the language used on the base map to match the viewer's language settings.
map.map_language_alts boolean
Display alternatives. Whether or not to display latin alternatives for non-latin languages (or vice versa)
map.map_language string
Language. Allowed values:
map.projection_longitude number
Centre long..
map.projection_latitude number
Centre lat..
map.projection_roll number
Rotation.
Viewport and interaction
map.map_initial_type string
Initial viewport. By default, the initial viewport of the map is automatically set to include every visible object. The "centroid" option allows you to select a custom latitude, longitude and zoom. The "bounds" option lets you specify a custom bounding box for the viewport to enclose. Selecting "world" will display the whole world within the viewport, regardless of your data or settings. Allowed values:
map.map_initial_pitch_tiles number
Pitch. The amount of vertical rotation to apply to the map when it first loads. At zero the map will face completely top-down. Increasing the value to larger values will give the map the illusion of a 3D perspective. Max: 60
map.map_initial_bearing_tiles number
Bearing. The direction the map should face when it first loads, in degrees. When set to zero the map will load facing north, at 180 the map will face south, and so on. Min: -180 Max: 180
map.map_initial_pitch_projection number
Pitch. The amount of vertical rotation to apply to the map when it first loads. At zero the map will face completely top-down. Increasing the value to larger values will give the map the illusion of a 3D perspective. Max: 60
map.map_initial_bearing_projection number
Bearing. The direction the map should face when it first loads, in degrees. When set to zero the map will load facing north, at 180 the map will face south, and so on. Min: -180 Max: 180
map.map_initial_padding number
Padding. The amount of space you want around the edge of your data on the map. Max: 10
map.map_initial_lat number
Latitude. Min: -90 Max: 90
map.map_initial_lng number
Longitude. Min: -180 Max: 180
map.map_initial_zoom number
Zoom. Max: 22
map.map_initial_bounds_lng_min number
Min longitude. Min: -180 Max: 180
map.map_initial_bounds_lat_min number
Min latitude. Min: -90 Max: 90
map.map_initial_bounds_lng_max number
Max longitude. Min: -180 Max: 180
map.map_initial_bounds_lat_max number
Max latitude. Min: -90 Max: 90
map.map_aspect_type string
Resize by aspect ratio. Allowed values:
map.map_aspect_w number
Width. Min: 1
map.map_aspect_h number
Height. Min: 1
map.map_zoom_min number
Min zoom. Limit the map's zoom level so that the user cannot zoom out past a certain point. Max: 22
map.map_zoom_max number
Max zoom. Limit the map's zoom level so that the user cannot zoom in past a certain point. Max: 22
map.map_bound_position boolean
Limit viewport bounds. Enable this setting to restrict the viewport within a specific bounding box.
map.map_lng_min number
Min viewport longitude. Min: -180 Max: 180
map.map_lat_min number
Min viewport latitude. Min: -90 Max: 90
map.map_lng_max number
Max viewport longitude. Min: -180 Max: 180
map.map_lat_max number
Max viewport latitude. Min: -90 Max: 90
map.map_render_world_copies boolean
Repeat map horizontally. The map will display copies of the world on either side at higher zoom levels by default. Disable this if you would prefer only the one copy be visible.
map.animation_enabled boolean
Animate zoom & panning.
map.animation_type string
Animation type. Allowed values:
map.animation_duration number
Duration (seconds). Min: 0.01 Max: 60
map.animation_speed number
Speed. Min: 0.01 Max: 4
map.map_interactive boolean
Allow user interaction.
map.hijack_scroll boolean
Require user to hold down cmd/ctrl to zoom. This is enabled by default to prevent the map interfering with navigation as the user scrolls through the page. You might want to enable it if the map fills the full page.
map.controls_allow_rotation boolean
Allow rotation.
map.controls_geolocator_enabled boolean
Use geolocator control.
map.controls_geolocator_alignment string
Geolocator control position. Allowed values:
map.controls_fullscreen_enabled boolean
Use fullscreen control.
map.controls_fullscreen_alignment string
Fullscreen control position. Allowed values:
Graticules
map.graticules.enabled boolean
Allowed values:
- true (Enabled)
- false (Disabled)
map.graticules.color color
Color.
map.graticules.width number
Width. Max: 10
map.graticules.opacity number
Opacity. Max: 100
map.graticules.longitude_step number
Longitude separation (°). Max: 90
map.graticules.latitude_step number
Latitude separation (°). Max: 90
Regions
map.regions.extrude.enabled boolean
Extrude regions.
map.regions.extrude.min_height number
Min height.
map.regions.extrude.max_height number
Max height.
map.regions.colors.scale_type string
Scale type. Allowed values:
map.regions.colors.categorical_palette colors
Palette.
map.regions.colors.categorical_extend boolean
Extend. Automatically generate additional colours when needed to avoid the palette colours being used more than once.
map.regions.colors.categorical_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:
Party 1: red
Party 2: #4455AA
Party 3: rgb(30,168,26)
map.regions.colors.numeric_type string
Scale type. Allowed values:
map.regions.colors.binning boolean
In linear mode, the color scale will run as a smooth gradient between 2 colors. In binned mode, the gradient will be divided in smaller blocks. Allowed values:
map.regions.colors.bin_mode string
Binning mode. Allowed values:
map.regions.colors.bin_count number
Number of bins.
map.regions.colors.bin_thresholds string
Custom thresholds. Write your custom thresholds, separated by a ";" For example 5;10;15
map.regions.colors.sequential_palette string
Palette. Allowed values:
map.regions.colors.sequential_reverse boolean
Reverse.
map.regions.colors.sequential_custom_min color
Minimum color.
map.regions.colors.sequential_custom_max color
Maximum color.
map.regions.colors.sequential_color_space string
Color space. Allowed values:
map.regions.colors.sequential_custom_domain boolean
Domain. Allowed values:
map.regions.colors.sequential_domain_min number
Min.
map.regions.colors.sequential_domain_max number
Max.
map.regions.colors.diverging_palette string
Palette. Allowed values:
map.regions.colors.diverging_reverse boolean
Reverse.
map.regions.colors.diverging_custom_min color
Minimum color.
map.regions.colors.diverging_custom_mid color
Midpoint color.
map.regions.colors.diverging_custom_max color
Maximum color.
map.regions.colors.diverging_color_space string
Color space. Allowed values:
map.regions.colors.diverging_custom_domain boolean
Domain. Allowed values:
map.regions.colors.diverging_domain_min number
Min.
map.regions.colors.diverging_domain_mid number
Mid.
map.regions.colors.diverging_domain_max number
Max.
map.regions.use_fallback boolean
Use fallback color. When enabled, a color of your choice is used when the value or category binding has not been enabled for your map, or if a value is invalid. Otherwise invalid numbers will be treated as zero, and empty categories will be included in the color palette. Allowed values:
map.regions.fill_default color
Fallback color.
map.regions.opacity number
Region fill opacity. Max: 100
map.regions.outline.enabled boolean
Enabled.
map.regions.outline.width number
Width. Min: 0.2 Max: 4
map.regions.outline.color color
Color.
controls_region_value.control_type string
Control type. These controls will show up when more than 1 value column has been selected Allowed values:
controls_region_value.control_styles boolean
Adv..
controls_region_value.control_title string
Control title.
controls_region_value.button_group boolean
Grouped. Allowed values:
controls_region_value.button_group_width_mode string
Button group width. Allowed values:
controls_region_value.button_group_width_fixed number
Width. Max: 100
controls_region_value.dropdown_width_mode string
Dropdown width. Allowed values:
controls_region_value.dropdown_width_fixed number
Width. Max: 100
controls_region_value.slider_background_color color
Background.
controls_region_value.slider_font_color color
Text.
controls_region_value.slider_handle_color color
Handle.
controls_region_value.slider_width number
Width. Max: 100
controls_region_value.slider_margin number
Label width. Max: 50
controls_region_value.slider_handle_height number
Height. Max: 10
controls_region_value.slider_track_height number
Track height. Max: 10
controls_region_value.slider_play_button boolean
Play button.
controls_region_value.slider_loop boolean
Loop.
controls_region_value.slider_step_time number
Time between steps. Measured in seconds, positive values move the slider left to right, negative values move the slider right to left. Min: -100 Max: 100
controls_region_value.slider_restart_pause number
Pause before loop. Measured in seconds and in addition to the regular step time displayed above. Max: 100
controls_region_value.sort string
Sorting. Allowed values:
controls_region_value.sort_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 npmjs.com/package/d3-time-format for details. Predefined values:
controls_style.font_size number
Text size. Max: 5
controls_style.font_weight string
Text weight. Allowed values:
controls_style.padding number
Height. Space below and above controls text Max: 5
button_style.background color
Background.
button_style.background_selected color
Selected.
button_style.background_hover color
Mouse over.
button_style.font_color color
Text color.
button_style.font_color_selected color
Selected.
button_style.font_color_hover color
Mouse over.
button_style.button_styles_advanced boolean
Button border styles.
button_style.border_width number
Border width. Max: 20
button_style.border_color color
Color.
button_style.border_transparency number
Transparency. Max: 1
button_style.border_radius number
Radius. Max: 100
dropdown_style.background color
Background.
dropdown_style.font_color color
Text color.
dropdown_style.border_styles_advanced boolean
Dropdown border styles.
dropdown_style.border_style string
Border style. Show border on all sides, or only at the bottom Allowed values:
dropdown_style.border_width number
Border width. Max: 20
dropdown_style.border_color color
Color.
dropdown_style.border_transparency number
Transparency. Max: 1
dropdown_style.border_radius number
Radius. Max: 100
Points
map.points.style string
Appearance. Allowed values:
default_color color
Default color.
default_color_is_zero boolean
Fallback to zero. When enabled, invalid or missing color values are treated as zero. When disabled, these values will fall back to the default color value intead.
map.points.colors.scale_type string
Scale type. Allowed values:
map.points.colors.categorical_palette colors
Palette.
map.points.colors.categorical_extend boolean
Extend. Automatically generate additional colours when needed to avoid the palette colours being used more than once.
map.points.colors.categorical_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:
Party 1: red
Party 2: #4455AA
Party 3: rgb(30,168,26)
map.points.colors.numeric_type string
Scale type. Allowed values:
map.points.colors.binning boolean
In linear mode, the color scale will run as a smooth gradient between 2 colors. In binned mode, the gradient will be divided in smaller blocks. Allowed values:
map.points.colors.bin_mode string
Binning mode. Allowed values:
map.points.colors.bin_count number
Number of bins.
map.points.colors.bin_thresholds string
Custom thresholds. Write your custom thresholds, separated by a ";" For example 5;10;15
map.points.colors.sequential_palette string
Palette. Allowed values:
map.points.colors.sequential_reverse boolean
Reverse.
map.points.colors.sequential_custom_min color
Minimum color.
map.points.colors.sequential_custom_max color
Maximum color.
map.points.colors.sequential_color_space string
Color space. Allowed values:
map.points.colors.sequential_custom_domain boolean
Domain. Allowed values:
map.points.colors.sequential_domain_min number
Min.
map.points.colors.sequential_domain_max number
Max.
map.points.colors.diverging_palette string
Palette. Allowed values:
map.points.colors.diverging_reverse boolean
Reverse.
map.points.colors.diverging_custom_min color
Minimum color.
map.points.colors.diverging_custom_mid color
Midpoint color.
map.points.colors.diverging_custom_max color
Maximum color.
map.points.colors.diverging_color_space string
Color space. Allowed values:
map.points.colors.diverging_custom_domain boolean
Domain. Allowed values:
map.points.colors.diverging_domain_min number
Min.
map.points.colors.diverging_domain_mid number
Mid.
map.points.colors.diverging_domain_max number
Max.
heatmap_min_value number
Min value.
heatmap_max_value number
Max value.
heatmap_downsample string
Downsampling. Allowed values:
heatmap_edge_sharpness number
Edge sharpness. Max: 5
heatmap_step_count number
No. of steps. Min: 1 Max: 25
heatmap_stepped boolean
Terraced gradient.
map.points.stroke_mode string
Outline mode. Choose Auto for outline color to match point color. Choose Fixed to give all points a uniform outline color. Allowed values:
map.points.stroke_opacity number
Opacity. Max: 100
map.points.stroke_width number
Width. Max: 10
map.points.stroke_color color
Color.
blend_mode string
Blend mode. Determines how point colors mix with the map or points beneath them. Additive adds the colors together making points appear to glow, and works best on darker maps. Subtractive subtracts colors from their background like ink on paper, and works best on lighter maps. Allowed values:
map.points.opacity number
Point opacity. Max: 100
heatmap_size number
Point size.
default_size number
Default size.
min_size number
Min size.
max_size number
Max size.
scale_with_zoom boolean
Scale with zoom. Allowed values:
min_scale_zoom number
Min zoom. Max: 24
max_scale_zoom number
Max zoom. Max: 24
date_format string
Date/time format in data. The date/time format in your data sheet. If it isn’t in the list, you can enter a custom format using d3-time-format syntax. See npmjs.com/package/d3-time-format for details. Predefined values:
count_by string
Count by. Determines how much each point contributes to the values in the counter and timeline graph, if applicable. Choosing 'count' will use the total number of points, whereas choosing 'scale' or 'color' will accumulate the scale or color values of each point. Allowed values:
map.points.transition_kind string
Enter/exit transitions. Allowed values:
empty_category_include boolean
Fallback category. Creates a new "other" category for uncategorised points Allowed values:
empty_category_label string
Label.
display_below_labels boolean
Draw map labels in front of points.
Lines
line_stroke_color color
Default.
line_stroke_color_overrides text
Overrides. Type the name of the series whose colour you want to set, a colon and then a color (using a name, hex-code or rgb declaration). Multiple colors can be set using multiple lines. For example:
Rivers: blue
Borders: #444444
line_stroke_width number
Default. Max: 5
line_stroke_width_overrides text
Overrides. Type the name of the series whose width you want to set, a colon and then a number between 0 and 5. Multiple widths can be set using multiple lines. For example:
Rivers: 0.5
Borders: 2
line_stroke_opacity number
Default. Max: 1
line_stroke_opacity_overrides text
Overrides. Type the name of the series whose opacity you want to set, a colon and then a number between 0 and 1. Multiple opacities can be set using multiple lines. For example:
Rivers: 0.5
Borders: 1
line_stroke_dash string
Default. Allowed values:
line_stroke_dash_overrides text
Overrides. Type the name of the series whose line-dash style you want to set, a colon and then a line-dash style (“solid”, “long”, “short“ or “mixed”). Multiple line-dash styles can be set using multiple lines. For example:
Rivers: solid
Borders: long
Timeline
timeline.enabled boolean
Allowed values:
- true (Enabled)
- false (Disabled)
timeline.style string
Style. Allowed values:
timeline.graph boolean
Show chart. Allowed values:
timeline.play_on_load boolean
Play on load.
timeline.loop boolean
Loop timeline. When turned on, the timeline will return to the beginning once complete. Otherwise, it will stop when it reaches the end.
timeline.duration number
Timeline duration. Total duration of the timeline during normal playback in seconds.
timeline.duration_tween number
Time jump duration. Duration of transitions between different points in time on the timeline.
This is the transition you see in the story player when switching between slides with a different time on the timeline (in seconds).
timeline.duration_wait_at_end number
Pause before loop.
timeline.axes_custom_enabled boolean
Axis settings.
timeline.color_axes color
Axes color.
timeline.axis_font_size number
Font size. Max: 3
timeline.date_format_display string
X axis date format. Predefined values:
timeline.axis_nice_x boolean
Clean X axis. Rounds out the X axis so that its start and end values are nice, round dates
timeline.axis_nice_y boolean
Clean Y axis. Rounds out the Y axis so that its start and end values are nice, round numbers
timeline.scrubber_snap boolean
Snap when scrubbing. When turned on, you can only jump to values that are supplied in the dataset and nothing in between
timeline.scrubber_snap_paused boolean
Snap when paused. Activate to snap the timeline to the closest interval when non animating. This is useful for ensuring the data visible in the visualization always reflects the data you have supplied.
timeline.layout_settings boolean
Layout settings.
timeline.margin.top number
Top.
timeline.margin.left number
Left.
timeline.margin.bottom number
Bottom.
timeline.margin.right number
Right.
timeline.playback_button.margin_right number
Space between button and timeline.
timeline.scrubber_height number
Scrubber height.
timeline.playback_button.margin_right_button number
Space between button and text.
timeline.graph_settings boolean
Chart settings.
timeline.color_background color
Background.
timeline.graph_height number
Height.
timeline.curve boolean
Curved lines.
timeline.playback_styling boolean
Play button settings.
timeline.playback_button.button_color color
Button color.
timeline.playback_button.button_size number
Button size. Max: 8
timeline.playback_button.icon_color color
Icon color.
timeline.playback_button.icon_size number
Icon size. Max: 8
timeline.playback_button.label_size number
Label size. Max: 8
timeline.duration_pulse number
Pulse duration. The amount of time that it takes for an point to appear and disappear (in seconds).
counter_bin_mode string
Aggregation options. Allowed values:
counter_label_rate string
"Rate" button.
counter_label_total string
"Total" button.
counter_options_type string
Aggregation rate interval. Allowed values:
counter_options_seconds boolean
Seconds.
counter_options_minutes boolean
Minutes.
counter_options_hours boolean
Hours.
counter_options_days boolean
Days.
counter_options_weeks boolean
Weeks.
counter_options_months boolean
Months.
counter_options_years boolean
Years.
Counter
counter_enabled boolean
Enable counter. Allowed values:
counter_layout string
Layout. Allowed values:
counter_position string
Position. Allowed values:
counter_hide_values boolean
Hide counter values.
counter_colorize boolean
Color values based on category.
counter_category_order_enabled boolean
Manually select category order.
counter_category_order text
Category order. Include your categories in the order you want them to appear, with one category per line.
counter_color_text color
Color.
counter_color_shadow color
Shadow.
counter_alpha_shadow number
Shadow opacity. Max: 100
counter_color_text_legend color
Text color.
counter_legend_background color
Background color.
Inset map
minimap.minimap_display boolean
Display map.
minimap.minimap_rotate boolean
Rotate with camera.
minimap.minimap_custom_colors boolean
Customise colours.
minimap.minimap_fill color
Region fill color.
minimap.minimap_ocean_color color
Ocean color.
minimap.minimap_stroke color
Region stroke color.
minimap.minimap_outline color
Outline color.
minimap.minimap_show_bounds boolean
Display viewport bounds.
minimap.minimap_bounds_color color
Region bounds color.
minimap.minimap_bounds_opacity number
Region bounds opacity. Max: 1
minimap.minimap_size_type string
Size units. Allowed values:
minimap.minimap_size_desktop_pixels number
Pixels (desktop). Min: 1
minimap.minimap_size_mobile_pixels number
Pixels (mobile). Min: 1
minimap.minimap_size_desktop_viewport number
Screen % (desktop). Min: 1 Max: 100
minimap.minimap_size_mobile_viewport number
Screen % (mobile). Min: 1 Max: 100
Legend
legend.region_color_show boolean
Show region color legend.
legend.container.alignment string
Alignment. Allowed values:
legend.container.orientation string
Orientation. Allowed values:
legend.container.title_weight string
Title weight. Allowed values:
legend.container.text_weight string
Text weight. Allowed values:
legend.container.text_color color
Color.
legend.container.text_size number
Size. Max: 10
legend.region_color_continuous.show_legend boolean
Allowed values:
- true (Enabled)
- false (Disabled)
legend.region_color_continuous.title_mode string
Title mode. Allowed values:
legend.region_color_continuous.title string
Title.
legend.region_color_continuous.color_band_width number
Width.
legend.region_color_continuous.color_band_height number
Height.
legend.region_color_continuous.color_band_radius number
Roundness. The radius of the corners of the color band (in pixels)
legend.region_color_continuous.binned_label_mode string
Binned label mode. Allowed values:
legend.region_color_continuous.binned_label_custom string
Custom bin labels. List numeric values, separated by semi-colons.
legend.region_color_continuous.legend_min number
Legend min.
legend.region_color_continuous.additional_min_label string
Custom min label.
legend.region_color_continuous.legend_max number
Legend max.
legend.region_color_continuous.additional_max_label string
Custom max label.
legend.region_color_discrete.show_legend boolean
Allowed values:
- true (Enabled)
- false (Disabled)
legend.region_color_discrete.title_mode string
Title mode. Allowed values:
legend.region_color_discrete.title string
Title.
legend.region_color_discrete.swatch_width number
Width.
legend.region_color_discrete.swatch_height number
Height.
legend.region_color_discrete.swatch_radius number
Roundness. The radius of the corners of the swatch (in pixels)
legend.region_color_discrete.legend_items_padding number
Padding. Padding between legend items (in rems)
legend.region_color_discrete.swatch_outline boolean
Outline. An optional outline for the swatch in the legend
legend.region_color_discrete.swatch_outline_color color
Color.
legend.region_color_discrete.order_override text
Custom order override. Manually specify the order of legend entries (one entry per line)
legend.region_color_discrete.icon_height number
Height. Height of icon (in rems)
legend.region_color_discrete.icon_color color
Color. Fallback color (icon color if not determined by template)
legend.region_color_discrete.max_width number
Max width.
legend.region_color_discrete.orientation string
Orientation. Allowed values:
Labels
labels.anchor string
Anchor. Allowed values:
labels.text_transform string
Text transform. Allowed values:
labels.align_to string
Align to. Allowed values:
labels.text_color color
Text color.
labels.size_label number
Label size. Min: 1 Max: 40
labels.size_sublabel number
Sublabel size. Min: 1 Max: 40
labels.offset number
Label offset. Min: 0.25 Max: 5
labels.outline_enabled boolean
Outline.
labels.halo_color color
Outline color.
labels.include_count boolean
Include counter value in label.
labels.allow_overlap boolean
Allow labels to overlap.
Popups
popup.mode string
Allowed values:
- none (None)
- popup (Popup)
- panel (Panel)
- both (Both)
popup.popup_is_custom boolean
Popup content. Allowed values:
popup.show_popup_styles boolean
Show popup styles.
popup.popup_custom_header html
Popup custom header. Use {{column_name}} to add a value from your data. Ensure the column is selected, or add it to Info for popups for popup use.
Advanced users can add HTML styling or add category colors to popup headers.
To hide parts of the popup when a column is empty using {{#if column_name}}Content for non-empty column_name{{/if}}.
For example: {{#if Capital name}}Capital:{{/if}} {{Capital name}}.
Here, the word "Capital:" will only show if the corresponding cell in the "Capital name" column is not empty.
popup.popup_custom_main html
Popup custom main content. Use {{column_name}} to add a value from your data. Ensure the column is selected, or add it to Info for popups for popup use.
Advanced users can add HTML for designs, styles, and images.
To hide parts of the popup when a column is empty use the syntax {{#if column_name}}Content for non-empty column_name{{/if}}.
For example: {{#if Capital name}}Capital:{{/if}} {{Capital name}}.
Here, the word "Capital:" will only show if the corresponding cell in the "Capital name" column is not empty.
popup.popup_custom_accessible text
Popup custom accessible content. A text alternative to visual custom popup content that will be read out by screenreaders. This content is added as an aria-label
attribute to data point elements. You can still use {{column_name}} to add values from your data, but do not use HTML. For example: {Name}}, Population: {{Population}}, GDP: {{GDP}}
If left empty, accessible content will fallback to the default popup content.
popup.popup_width number
Max width. In rems, multiples of base font size. Leave blank to let the width adjust based on the contents.
popup.popup_font_size number
Text size.
popup.popup_text_color color
Text color.
popup.popup_align string
Align. Allowed values:
popup.popup_background color
Fill color.
popup.popup_background_opacity number
Fill opacity. Max: 1
popup.popup_padding number
Padding.
popup.popup_radius number
Radius. Corner radius of popup
popup.popup_header_type string
Header style. Allowed values:
popup.popup_header_background color
Background.
popup.popup_header_text_color color
Text.
popup.popup_list_type string
List type. Allowed values:
popup.popup_list_label_weight string
Label weight. Allowed values:
popup.popup_list_separator string
List separator. Predefined values:
popup.popup_shadow boolean
Shadow.
popup.popup_pointer boolean
Pointer.
popup.panel_position string
Allowed values:
- overlay (Overlay)
- left (Left)
- right (Right)
- top (Top)
- bottom (Bottom)
popup.panel_open_duration number
Open duration. Max: 2000
popup.panel_side_fixed boolean
Always show.
popup.panel_side_default_content text
Placeholder content.
popup.panel_is_custom boolean
Panel content. Allowed values:
popup.show_panel_styles boolean
Show panel styles.
popup.panel_custom_header html
Panel custom header. Use {{column_name}} to add a value from your data. Ensure the column is selected, or add it to Info for popups for panel use.
Advanced users can add HTML for styling or add category colors to panel headers.
To hide parts of the panel when a column is empty using {{#if column_name}}Content for non-empty column_name{{/if}}.
For example: {{#if Capital name}}Capital:{{/if}} {{Capital name}}.
Here, the word "Capital:" will only show if the corresponding cell in the "Capital name" column is not empty.
popup.panel_custom_main html
Panel custom main content. Use {{column_name}} to add a value from your data. Ensure the column is selected, or add it to Info for popups for panel use.
Advanced users can add HTML for designs, styles, images, videos and embedded Flourish charts,
To hide parts of the panel when a column is empty using {{#if column_name}}Content for non-empty column_name{{/if}}.
For example: {{#if Capital name}}Capital:{{/if}} {{Capital name}}.
Here, the word "Capital:" will only show if the corresponding cell in the "Capital name" column is not empty.
popup.panel_width_overlay number
Width (%).
popup.panel_height_overlay number
Height (%).
popup.panel_width_side number
Width (%).
popup.panel_height_side number
Height (%).
popup.panel_max_width number
Max width (px).
popup.panel_max_height number
Max height (px).
popup.panel_vertical_position string
Vertical position. Choosing Click position is especially useful when your visualization is really tall, this will make sure the panel content is always on top of the element you've clicked on Allowed values:
popup.panel_text_color color
Text color.
popup.panel_font_size number
Text size.
popup.panel_align string
Alignment. Allowed values:
popup.panel_background color
Fill color.
popup.panel_background_opacity number
Fill opacity. Max: 1
popup.panel_padding number
Padding.
popup.panel_radius number
Radius. Corner radius of panel
popup.panel_list_type string
List type. Allowed values:
popup.panel_list_label_weight string
Label weight. Allowed values:
popup.panel_list_separator string
List separator. Predefined values:
popup.panel_shadow boolean
Shadow.
Annotations
annotations.defaults.text_weight string
Weight. Allowed values:
annotations.defaults.text_size number
Text size.
annotations.defaults.text_color color
Text color.
annotations.defaults.label_width number
Max width. Min: 2 Max: 20
annotations.defaults.text_background_mode string
Text background. Allowed values:
annotations.defaults.text_bg color
Outline.
annotations.defaults.label_bg color
Background.
annotations.defaults.text_alignment string
Alignment. Allowed values:
annotations.defaults.popup_position string
Popup position. Allowed values:
annotations.defaults.line_marker string
Marker. Allowed values:
annotations.defaults.stroke_width number
Width. Max: 4
annotations.defaults.stroke_color color
Color.
annotations.defaults.connector_extend_line string
Extend line. Allowed values:
Localization
localization.input_decimal_separator string
Decimal separator in data sheet. Used for interpreting your data. Only change if data is not displaying on the chart as expected. Allowed values:
localization.output_separators string
Number format to display. How the numbers should appear on chart labels Allowed values:
formatter.prefix string
Prefix. Text to place in front of number
formatter.suffix string
Suffix. Text to place after number
formatter.n_dec number
Decimal places. Enter a negative integer to round to a whole number with that many zeros. For example, -2 will round to the nearest hundred. Min: -10 Max: 10
formatter.advanced boolean
Advanced.
formatter.negative_sign string
Styling of negative numbers. Allowed values:
formatter.strip_zeros boolean
Remove trailing zeros.
formatter.strip_separator boolean
Hide thousands separator below 10,000. Turn off if you want four-digit numbers to include a separator, e.g. “1,234” rather than “1234”.
formatter.transform_labels boolean
Multiply/divide values.
formatter.transform string
Allowed values:
- multiply (Multiply by)
- divide (Divide by)
- exponentiate (×10 to the power of)
formatter.multiply_divide_constant number
formatter.exponentiate_constant number
Layout
layout.body_font font
Main font. This font will apply to the whole graphic by default. You can optionally change the font for the title, subtitle, footer, etc in the Header and Footer settings panels.
layout.font_color color
Text color. This color will apply to the whole graphic by default, You can optionally change the color for individual text elements, in other settings panels.
layout.background_color_enabled boolean
Color. Allowed values:
layout.background_image_enabled boolean
Image. Allowed values:
layout.background_color color
Background color.
layout.background_image_src url
Image URL.
layout.background_image_size string
Size. Allowed values:
layout.background_image_position string
Position. Allowed values:
layout.max_width_target string
Maximum width. Apply a maximum width to just the main graphic or everything (main graphic plus header, footer, etc). Allowed values:
layout.max_width number
Maximum width. Leave blank to stretch to container width Min: 50
layout.max_width_align string
Align. Allowed values:
layout.layout_order string
Layout order. Allowed values:
layout.space_between_sections string
Space between sections. Allowed values:
layout.space_between_sections_custom number
Custom. Max: 100
layout.margin_top number
Top.
layout.margin_right number
Right.
layout.margin_bottom number
Bottom.
layout.margin_left number
Left.
layout.border.enabled boolean
Show borders around visualisation.
layout.border.top.width number
Top.
layout.border.top.style string
Style. Allowed values:
layout.border.top.color color
Color.
layout.border.right.width number
Right.
layout.border.right.style string
Style. Allowed values:
layout.border.right.color color
Color.
layout.border.bottom.width number
Bottom.
layout.border.bottom.style string
Style. Allowed values:
layout.border.bottom.color color
Color.
layout.border.left.width number
Left.
layout.border.left.style string
Style. Allowed values:
layout.border.left.color color
Color.
layout.read_direction string
Read direction. This will change the reading direction of the main text elements on the page. It's not possible to adjust this on all elements, such as axes. Allowed values:
Note that when direction is set to right to left any alignment icons will be reversed.
layout.font_size_mobile_small number
layout.font_size_mobile_big number
layout.font_size_tablet number
layout.font_size_desktop number
layout.font_size_big_screen number
layout.breakpoint_mobile_small number
layout.breakpoint_mobile_big number
layout.breakpoint_tablet number
layout.breakpoint_desktop number
layout.breakpoint_big_screen number
Header
layout.header_align string
Alignment. Allowed values:
layout.title html
layout.title_styling boolean
Styling.
layout.title_font font
Title Font.
layout.title_size string
Size. Allowed values:
layout.title_size_custom number
Custom. Specify a custom responsive font size in rems. The best results will be with values between 1.2 and 3
layout.title_weight string
Weight. Allowed values:
layout.title_color color
Color.
layout.title_line_height number
Line height. Max: 3
layout.title_space_above string
Space above. Allowed values:
layout.title_space_above_custom number
Custom. Max: 100
layout.subtitle html
layout.subtitle_styling boolean
Styling.
layout.subtitle_font font
Subtitle Font.
layout.subtitle_size string
Size. Allowed values:
layout.subtitle_size_custom number
Custom. Specify a custom responsive font size in rems. The best results will be with values between 1.2 and 3
layout.subtitle_weight string
Weight. Allowed values:
layout.subtitle_color color
Color.
layout.subtitle_line_height number
Line height. Max: 3
layout.subtitle_space_above string
Space above. Allowed values:
layout.subtitle_space_above_custom number
Custom. Max: 100
layout.header_text html
layout.header_text_styling boolean
Styling.
layout.header_text_size string
Size. Allowed values:
layout.header_text_size_custom number
Custom. Specify a custom responsive font size in rems. The best results will be with values between 1.2 and 3
layout.header_text_weight string
Weight. Allowed values:
layout.header_text_color color
Color.
layout.header_text_line_height number
Line height. Max: 3
layout.header_text_space_above string
Space above. Allowed values:
layout.header_text_space_above_custom number
Custom. Max: 100
layout.header_border string
Allowed values:
- top (Top)
- bottom (Bottom)
- top_and_bottom (Top & bottom)
- none (None)
layout.header_border_width number
Width.
layout.header_border_color color
Color.
layout.header_border_style string
Style. Allowed values:
layout.header_border_space number
Space. Space between border and header text
layout.header_logo_enabled boolean
Allowed values:
- true (Enabled)
- false (Disabled)
layout.header_logo_src url
Image.
layout.header_logo_alt string
Alt text.
layout.header_logo_link_url string
Link.
layout.header_logo_height number
Height.
layout.header_logo_align string
Align. Align logo inside either the header or the main visualization container Allowed values:
layout.header_logo_position_inside string
Position. Allowed values:
layout.header_logo_position_outside string
Position. Allowed values:
layout.header_logo_margin_top number
Top.
layout.header_logo_margin_right number
Right.
layout.header_logo_margin_bottom number
Bottom.
layout.header_logo_margin_left number
Left.
Footer
layout.footer_align string
Alignment. Allowed values:
layout.footer_text_size number
Size.
layout.footer_text_color color
Color.
layout.footer_styling boolean
Advanced footer styles.
layout.footer_font font
Font.
layout.footer_text_weight string
Weight. Allowed values:
layout.source_name string
Source name.
layout.source_url string
Source url.
layout.multiple_sources boolean
Multiple sources.
layout.source_name_2 string
Source name.
layout.source_url_2 string
Source url.
layout.source_name_3 string
Source name.
layout.source_url_3 string
Source url.
layout.source_label string
Source label.
layout.footer_note html
Note.
layout.footer_note_secondary html
Note (secondary). The secondary note is placed below the source and primary note
layout.footer_logo_enabled boolean
Image. Allowed values:
layout.footer_logo_src url
Image.
layout.footer_logo_src_light hidden
Image (light version). If provided this version will be used whenever the background color is dark
layout.footer_logo_alt string
Alt text.
layout.footer_logo_link_url string
Link.
layout.footer_logo_height number
Height.
layout.footer_logo_margin number
Margin.
layout.footer_logo_order string
Position. Allowed values:
layout.footer_align_vertical string
V. align. Allowed values:
layout.footer_border string
Allowed values:
- top (Top)
- bottom (Bottom)
- top_and_bottom (Top & bottom)
- none (None)
layout.footer_border_width number
Width.
layout.footer_border_color color
Color.
layout.footer_border_style string
Style. Allowed values:
layout.footer_border_space number
Space. Space between border and footer text
Accessibility
layout.screenreader_text_primary text
Screenreader description. A text alternative to the visual content that will only be visible to screenreaders, e.g. “The line chart shows China consistently higher than the other countries since 1990”.
Do not replicate your title, since that will also be read by screenreaders.
layout.screenreader_label string
Screenreader label. A short text label given to the main Flourish embed wrapper to provide an accessible name that is only visible to screenreaders. Added in the form of an "aria-label".
layout.screenreader_hide_primary boolean
Screenreader mode for main visual container. Whether the main visual container is visible to screenreaders. (Text in the header and footer are always available to screenreaders.) Allowed values: