What is a dimension?
A dimension (also referred to as a subdomain) is a named sub-category within a domain. While domains represent broad thematic areas, dimensions provide finer-grained groupings that make it easier to navigate large sets of indicators. For example, an Environmental domain might contain dimensions such as:- Water
- Energy
- Biodiversity
- Air quality
- Waste
Dimensions in the data model
Dimensions are stored as part of the domain object. Thesubdomains array on a domain contains the list of dimension objects for that domain:
subdomain string field — the plain name of the dimension.
Filtering by dimension
The indicator list supports filtering by dimension. The dimension filter dropdown:- Is disabled when no domain is selected — dimensions are domain-specific, so a domain must be active first
- Becomes enabled when a domain is selected — the dropdown populates with that domain’s dimensions
- Filters the indicator list to show only indicators whose
subdomainmatches the selected dimension
Dimension API access
Dimensions do not have a dedicated top-level API endpoint — they are accessed as part of the domain or indicator APIs.:subdomain path parameter is URL-encoded (using encodeURIComponent) when the dimension name contains spaces or special characters.
Managing dimensions (admin)
Administrators manage dimensions from the/dimensions route. From this page you can:
- View all dimensions across all domains
- Add a new dimension to an existing domain
- Edit a dimension name
- Delete a dimension
Deleting a dimension does not automatically reassign indicators that use it. Ensure that any indicators using a dimension are updated or removed before deleting the dimension to avoid orphaned
subdomain values.Relationship diagram
Every indicator has both adomain reference and a subdomain string, forming a two-level hierarchy that drives both the navigation structure and the filtering behaviour of the indicator list.