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

Pie and Donut Charts

Learn about building and configuring pie and donut charts in Mappica.

Overview

Pie and donut charts represent data values as proportional slices of a circle, where the size of each slice corresponds to the magnitude of a value relative to the whole. In pie charts, the entire circle is filled with slices, each representing a category's share of the total. In donut charts, the center of the circle is removed, leaving space for additional information, such as labels or totals, in the center.

Pie and donut charts are commonly used to depict part-to-whole relationships and compare the contributions of different categories within a dataset. They are best suited for datasets with a small number of categories and straightforward comparisons.

TIP
For datasets with many small categories, consider grouping them into an "Other" slice to maintain clarity and readability.

Setup

In the Setup section, under the Chart tab, you can assign the following properties:

  • The name will be used to reference it in the Layers tab and on the canvas.
  • The top, right, bottom, and left Margin that will be added between the chart axes and the edge of the chart container.
TIP
Because the margin sets the space between the pie charts and the edge of the container, ensure you add enough margin for any labels added outside the pie chart.
  • The Size Ratio of the chart container. Since the chart will always take up the available width inside its parent section, the size ratio effectively determines the chart's height.
  • Optionally, the chart's Minimum Height and/or Maximum Height. If the height calculated by the size ratio is smaller than the Minimum Height or larger than the Maximum Height, then the Minimum Height or Maximum Height is used instead of the size ratio.

Connecting to Datasets

In the Dataset section, you can select the dataset for your pie chart. If you need to add a dataset, this can be done by selecting New Dataset in the Project tab.
MAPPICA Pro
If you are on the Pro plan, you can upload your own files (in csv format) to use as datasets, by clicking New Dataset and then Upload Dataset.
After you have selected a dataset, you can optionally enable the Prefilter Dataset switch, which lets you filter the data that is supplied to the chart. The filter is a "prefilter" because it is applied before the visualization is generated; end users are unable to adjust the filter dynamically.
Next, choose the Fields that should be used to construct the pie chart:
  • Category Field: The field containing category names. Each unique value is displayed as an individual slice; any repeated values are aggregated.
  • Value Field: A number, percent, currency, or measurement field corresponding to the magnitude of each category. This determines the size of each slice, with larger values resulting in proportionally larger slices.

Connecting to Filters

You can establish connections to filter elements under the Chart tab, in the Connections section, by making a selection under Filter.
A Filter element can be styled as a series of checkboxes, a dropdown menu, or a slider. Values from the specified Filter Field appear as individual checkboxes, dropdown menu items, or (for numeric filtering) slider values. A given chart can be connected to one or more filters, and the same filter can be connected to multiple charts or other elements.
When a filter element is connected to a chart, it dynamically controls the dataset records displayed in the chart based on the user's selections. Additionally, filter elements can inherit color formatting from a chart, provided that the chart's Color Field is the same as the filter's Filter Field. For more information, see the Color Formatting section of the documentation for filter elements.
Typically, the Filter element you connect to will use the same Dataset as the chart element. However, this is not strictly necessary. If the filter and chart elements use different datasets, the filter will only affect the chart if the chart's dataset contains a field (column) with the same name as the Filter Field in the filter element. In this case, the values in these fields must at least partially align for the filter to take effect. Any non-matching values between the fields will be ignored during filtering.

Sorting

You can choose how to sort the pie slices under the Chart tab in the Sort section. Choose either to sort by the category or value variable. In both cases, you can also choose to reverse the natural sort order.

Colors

Color formatting is defined in the Colors section under the Chart tab, where separate colors can be assigned to each of the unique values in the Category Field.

Settings

The Settings section under the Chart tab is available for donut charts. It includes an Inner Hole option, which allows you to specify the size of the donut's inner hole.‍

Annotations

In the Annotations section under the Chart tab, you can add various annotations to a chart:

Inner Annotations: When editing donut charts, you can toggle on Show Inner Label to add an annotation inside the chart's inner hole. Specify an Inner Label to add explanatory text to the annotation. Toggle on Show Total Value to display the total of all of the values in the Value Field.

Slice Annotations: Add annotations for every slice in the pie or donut chart. You can choose whether to display category names (by enabling Show Categories), whether to display slice values (by enabling Show Values), whether to add offset spacing to move them from their default location (Label Offset), and whether to move the labels from inside the slice to the outside of each slice (by enabling Move to Outside).

When labels are moved outside the chart, you can choose an alignment for the labels or use the default "Auto" alignment, which left aligns annotations between 0 and 180 degrees and right aligns those between 180 and 360 degrees.

You can also choose to hide a range of annotation values, by adding a start and end value under Hidden Annotation Values. This is typically used to hide small values, where there is insufficient space to display the annotation text.

Table of Contents
  • Overview
  • Setup
  • Connecting to Datasets
  • Connecting to Filters
  • Sorting
  • Colors
  • Settings
  • Annotations
© 2025, Mappica LLC. All rights reserved.
NewsTermsPrivacyEULA