Widgets
Last updated
Last updated
In Builder, widgets empower users to dynamically explore data, leading to rich visualizations. They also serve to filter data based on the map viewport and interconnected widgets.
Below are the current type of Widgets available to customize your visualization and enable a richer interaction with your data:
Formula Widget: Shows aggregated numerical data as a single metric.
Category Widget: Segments data into distinct categories displaying aggregated metrics.
Pie Widget: Visualizes categorical data by displaying the proportion of each category relative to the whole data set.
Histogram Widget: Shows the frequency distribution across equal bins in the data range.
Range Widget: Shows a specific range of numerical data adjustable via slider or input values.
Time Series Widget: Shows the frequency distribution aggregated by a temporal period. It also allows to create animated maps.
Table Widget: Displays tabular data for easy viewing and interaction.
Add a widget to Builder by clicking "New Widget" and select your data source.
Then, select a widget type from the menu: Formula, Category, Histogram, Range, Time Series or Table.
Once you have selected the widget type of your preference, you are ready to configure your Widget.
In the Data section of the Widget configuration, choose an aggregation operation COUNT
, AVG
, MAX
, MIN
or SUM
and, if relevant, specify the column on which to perform the aggregation.
When working with pre-generated tilesets, please ensure your data have a unique identifier named geoid
for correct Widgets calculations.
Using the Formatting option, you can auto-format data, ensuring enhanced clarity. For instance, you can apply automatic rounding, comma-separations, or percentage displays.
You can use Notes to supplement your Widgets with descriptive annotations which support Markdown syntax, allowing to add text formatting, ordered lists, links, etc.
Widgets offer two distinct modes of operation: "Global" and "Viewport".
Global Mode
By default widgets are calculated in global mode where information is displayed for the full data source. This option does not take into account the viewport extent of the data.
Viewport Mode
You can configure widgets to work in viewport mode, meaning the data gets updated when the viewport extent changes.
For dynamic tiling sources, viewport widgets get the data by performing a SQL query to the data warehouse; whereas, if you are working with pre-generated tilesets, viewport widgets work with the data that has been downloaded for visualization which is available locally in the browser.
Please be aware that global mode is not supported for pre-generated tileset sources. In such scenarios, the functionality defaults to viewport mode. This means that all calculations are based on the extent of the map's current viewport.
In the Behavior section of Builder, you have the option to make Widgets collapsible, allowing them to be hidden when needed. Additionally, widgets can be set to automatically collapse when their associated layers are not visible. Moreover, certain widgets possess the ability to concurrently filter themselves and other widget linked to the same data source. This filtering functionality can be conveniently enabled or disabled for individual widgets using the cross-filtering toggle icon.
As Widget settings differ between widget types, please visit the individual widget's documentation page for more detailed information.