Type identifier:
visualisationCategory: Experience Blocks
Data-visualisation block with component-specific configuration for WordCloud, BarChart, and Map.
WordCloudOptional config:
textPath, countPathpadding (0..50)rotation (horizontal | mixed | vertical)minFontSize (1..100)maxFontSize (1..200)colorBarChartOptional config:
yAxisPath, xAxisPathbarColor, showGrid, showTooltip, xAxisAngle, barRadiusshowXAxis, showYAxis, layoutlabelPosition, labelFontSize, labelFontWeight, labelFilluseColorRange, colorRangeStart, colorRangeEndMapOptional config:
zoomFilteringstyleMappingpointBlock, hoverBlockhoverStyleworldCopyJump, minZoom, maxZoom, showMinimapSupported datum payloads:
{
"mode": "geography-reference",
"rows": [
{
"id": "AU",
"sources": [
{
"type": "reference",
"geographySet": "world-country-ne-v1",
"geographyCode": "AU"
}
],
"properties": {
"regionName": "Oceania",
"displayCount": 10
},
"value": 124
}
]
}{
"mode": "geography-reference",
"rows": [
{
"id": "anz-core",
"label": "ANZ Core",
"properties": {
"detailLevel": "Continental",
"displayCount": 12
},
"sources": [
{
"type": "reference",
"geographySet": "world-country-ne-v1",
"geographyCode": "AU"
},
{
"type": "reference",
"geographySet": "world-country-ne-v1",
"geographyCode": "NZ"
},
{
"type": "geojson",
"value": {
"type": "Polygon",
"coordinates": [
[
[160, -20],
[161, -20],
[161, -19],
[160, -19],
[160, -20]
]
]
}
}
]
}
]
}Reference-mode requirements:
mode must be geography-referencerows[].id is the feature identifier for the rendered rowrows[].properties, are merged onto feature properties for styling and hover contentrows[].sources[] is required and can mix standard geography references with inline GeoJSON literalsrows[].sources[].geographySet is required for reference sourcesMode selection guidance:
Shipped geography sets:
world-country-ne-v1: countries, identified by ISO 3166-1 alpha-2 codesworld-admin1-ne-v1: global first-order subdivisions, identified by ISO 3166-2 codesworld-admin1-africa-ne-v1, world-admin1-antarctica-ne-v1, world-admin1-asia-ne-v1, world-admin1-europe-east-ne-v1, world-admin1-europe-west-ne-v1, world-admin1-north-america-ne-v1, world-admin1-oceania-ne-v1, world-admin1-south-america-ne-v1: regional admin-1 packs, described in the table belowEach row renders one feature.
rows[].id is a stable row identifier from your dataset. It does not need to equal the geography code.rows[].sources[].type: "reference" resolves the row to a shipped geography unit from a known geography set.type: "geojson" supplies inline custom geometry for the row.rows[].properties; both are merged into the rendered feature properties.A row that matches one shipped geography unit directly has this shape:
{
"mode": "geography-reference",
"rows": [
{
"id": "US",
"label": "United States",
"sources": [
{
"type": "reference",
"geographySet": "world-country-ne-v1",
"geographyCode": "US"
}
],
"properties": {
"value": 125,
"segment": "North America"
}
}
]
}For first-order subdivisions, keep the same structure but switch both the geographySet and the code format:
{
"mode": "geography-reference",
"rows": [
{
"id": "US-CA",
"label": "California",
"sources": [
{
"type": "reference",
"geographySet": "world-admin1-north-america-ne-v1",
"geographyCode": "US-CA"
}
],
"properties": {
"value": 42
}
}
]
}A custom composite region uses one output row with multiple sources:
reference sources from the same geography set merge into one output geometry.reference sources from different geography sets can be combined, but the output is then a custom composite feature rather than a simple boundary-pack join.geojson sources can be mixed with reference sources when you need to extend or patch a region.The geography set follows the level of the identifiers in your rows, not the visual zoom level.
Data level in your rows | Expected code format | Geography set to use | When it applies |
|---|---|---|---|
Country | ISO 3166-1 alpha-2, for example |
| Each row represents a country. |
Admin-1 (first-order subdivision) | ISO 3166-2, for example |
| Rows span multiple continents or the whole world. |
| All rows are within Africa. | ||
| All rows are within Antarctica. | ||
| All rows are within Asia. | ||
| All rows are within Eastern Europe. | ||
| All rows are within Western Europe. | ||
| All rows are within North America. | ||
| All rows are within Oceania. | ||
| All rows are within South America. |
Selection rules:
world-country-ne-v1.world-admin1-ne-v1 applies.world-country-ne-v1.A subdivision code that resolves in one of the regional packs targets that pack for its row.
Property | Type | Required | Notes |
|---|---|---|---|
|
| Yes | Shared block identifier. |
|
| Yes | Block discriminator. |
|
| Yes | Variant discriminator. |
|
| Yes | Data source reference. |
| CSS size | No | Visualisation width. |
| CSS size | No | Visualisation height. |
|
| No | Optional state-specific overrides. |
The shared block style, layout, and data properties also apply to Visualisation blocks.
State entries follow the shared state shape and support partial Visualisation overrides.
No states are currently available for Visualisation blocks.
{
"id": "vis-1",
"type": "visualisation",
"component": "WordCloud",
"datumReference": {
"type": "datumReference",
"referenceId": "queryResults"
}
}