Filters
Since widgets provide a visual representation of the data, they also commonly offer a rich interface for filtering: for example, clicking in a specific bar within a bar chart could filter the entire application, or at least, filter data within a map. We'll refer to this type of non-geospatial filtering as column filters.
But also, interacting with the map (such as zooming in a specific location, or drawing a circle) could trigger filters that are based on geospatial information, most commonly a specific area. We'll refer to this type of geospatial (polygon) based filtering as spatial filters.
Depending on the source, filters in CARTO will work server-side or client-side.
When working server-side (
...TableSource
and...QuerySource
sources) all filtering is powered by your cloud data warehouse, allowing for unmatched scalability and performance with perfect precision.When working client-side (
...TilesetSource
andrasterSource
sources) all filtering is applied locally to widgets, allowing for a balance between precision and impressive performance and granularity. Read more about client-side considerations.
For GPU-powered filtering directly in your CARTO + deck.gl layers, feel free to check the DataFilterExtension in deck.gl.
Last updated
Was this helpful?