How to customize missing regions
When you make a map that colors regions by category or value, you may want to include regions that don't have a specific category or value attached to them.
These regions might still need to be visible to provide context or to highlight that they have missing data. In this help doc, you'll learn how you can customize the appearance and behavior of these regions.
In this article
What counts as a missing region?
Regions are categorized as "missing" when the visualization has a boundary for it in the Regions geometry tab, but your data does not contain any information for them.
Here is what the Data tab of such visualizations looks like:
In our Regions tab, we have data for only 20 European countries. However, the Regions geometry tab contains boundaries for the whole continent. That makes some regions (most of Eastern Europe and Iceland) missing.
By default, the template will "ignore" these regions – this means that you wouldn't be able to highlight them, hover over them or add popups. However, you can change this – read how here.
How to customize the appearance of missing regions
- 1
- Go to Regions layer > Missing values. In this section, you can customize how missing regions appear on your map.
-
- 2
-
Choose from one of the four
Action options:
- Use fill color means that missing regions will use the default fill color specified at the top of the Regions layer settings:
- For Use a pattern you can customize the square opacity, size and colors:
- Hide region will hide the whole region completely and missing regions will not have popups.
- Make region transparent still shows the outlines of missing regions, and missing regions will still have popups.
See below for how each of these Action options looks and behaves:
TIP: Sometimes, you may want to customize the popups or panels of the missing regions only. Use custom popups and conditional statements to do this.
How to add additional information for regions with no data
Although these regions do not contain actual data, they still need to appear in your Regions tab in order to be customized. We'll do this by using the upload and merge function.
TIP: We also recommend deselecting the automated column selection feature, to avoid new columns being assigned to your column bindings.
TIP: Want to display different popup and panel information for regions, depending on whether they have data or not? You should use conditional formatting – learn how to do this here.