GalleryPricing
Resources
Documentation
Explore how to build visualizations in Mappica.
Concepts
Understand core ideas in data visualization.
Tutorials
Watch step-by-step videos and walkthroughs.
FAQs
Learn more about our Pro plan and subscription policies.
Support
Get help by connecting to Mappica's support team.
Log in
Log In
Get Started
Overview
  • Introduction to Mappica
Workspaces
  • Workspaces Overview
  • Projects
  • Team
  • Theme
  • Lookups
  • Subscription
  • Settings
Visualizations
  • Visualizations Overview
  • Sections
  • Maps
  • — Arrow Maps
  • — Bar Maps
  • — Choropleth Maps
  • — Spike Maps
  • — Symbol Maps
  • Charts
  • — Columns and Bars
  • — Stacked Columns and Bars
  • — Grouped Columns and Bars
  • — Line Charts
  • — Area Charts
  • — Histograms
  • — Arrow Plots
  • — Dot Plots
  • — Scatter Plots
  • — Pie and Donut Charts
  • Tables
  • Filters
  • Selectors
  • Navigation
  • Legends
  • Text
  • Images and Videos
  • Colors
  • Publishing
Datasets
  • Datasets Overview
  • Data Aggregation
Basemaps
  • Basemaps Overview
Profile
  • Profile Overview

Legends

Learn how to add legend elements and connect them to charts and maps.

Overview

Legends provide contextual information about the chart or map they are connected to. They can be used to display details about color categories, continuous colors, symbol sizes, and spike heights, making it easier for users to interpret colors and dimensions in the visualization.

TIP
Legend elements are static, so users cannot click on individual legend items to toggle series on and off. If you want to display an interactive legend with categorical color values that can be clicked, add a Selector element and under Display Style select "Legend."

You can add a Legend element to your visualization by dragging one onto the canvas from the Insert dropdown in the Toolbar. Alternatively, click the Legend icon that appears when hovering on an empty section.

Legends can be configured by selecting an existing legend element and using the options available in the Legend tab in the right panel. These options are detailed below.

In this map of U.K. electoral results in 2024, categorical colors are displayed in the initial legend, and continuous color legends are displayed when party-specific vote shares are selected.

Setup

Under the Legend tab, in the Setup section, you can configure the following options:

  • Name: Enter the legend element's name to identify it in the Layers tab and on the canvas.
  • Connected Element: Choose a chart or map to supply information to the legend.
  • Legend Type: Select from "Color", "Symbol Size", and "Spike Height." Certain options will be unavailable depending on the type of chart or map selected as the Connected Element.
  • Margin: Specify the space around the legend element in pixels.
  • Alignment: Align the legend element to the left, center, or right.
  • Gap: Set the horizontal gap between legend items and the vertical gap between legend rows.

Legend Types

While setting up a legend, specify the type of legend you want to display. The following options are available:

Color: Two types of color legends can be displayed, depending on whether the connected chart or map is assigning colors in a categorical or continuous way. When a text field is used as the chart or map's Color Field, colors are assigned categorically, and the legend will display each color alongside its corresponding category name. When a number, currency, percent, or measurement field is used as the Color Field, the legend will display continuous colors with labeled ticks to indicate key values. Continuous colors can be configured with specific domains and color scales; for more information, view the Colors page.

Symbol Size: For symbol maps and scatterplot charts where symbols can be assigned a dynamic size, legends can display a range of symbols, each alongside numeric labels indicating their corresponding sizes.

Spike Height: For spike maps, legends can display a range of spike symbols, each paired with numeric labels indicating their corresponding heights.

This map of U.S. airport traffic includes two legends: one showing symbol sizes, and the other showing how a continuous color ramp is assigned to each symbol.

Settings

The following options appear under the Legend tab, in the Settings section:

  • Add Label: Place label text above the legend items. Optionally, when more information may be needed to explain the legend, add a Tooltip adjacent to the label text.
  • Use Short Format: Enabling this option compacts numeric values in the legend by means of rounding and the use of abbreviations; for instance, the value 20,000.00 would be displayed as 20k.
  • Show Hidden Fields: Fields in the connected element can sometimes be hidden as a result of the user's interaction with filters and selectors. This option controls whether these hidden fields should be displayed in the legend.
Table of Contents
  • Overview
  • Setup
  • Legend Types
  • Settings
© 2025, Mappica LLC. All rights reserved.
NewsTermsPrivacyEULA