California grape counties, written by a chatbot
Prompt: “Make a four-slide briefing about California grape counties: a title, the totals, then Fresno and Napa.”
Data: USDA Census of Agriculture 2022 grape production (Esri)
map-v1 JSON
{
"version": 1,
"title": "California grape counties",
"basemap": "gray-vector",
"legend": true,
"layers": [
{
"url": "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USDA_Census_of_Agriculture_2022_Grape_Production/FeatureServer/0",
"type": "feature",
"title": "California grape acreage (USDA 2022)",
"where": "STATE_ABBR = 'CA' AND GRAPES_ACRES_BEAR_NON_BEAR_TOT > 1000",
"opacity": 0.85,
"renderer": {
"type": "choropleth",
"field": "GRAPES_ACRES_BEAR_NON_BEAR_TOT",
"classes": 5,
"method": "quantile",
"ramp": "purples"
}
}
],
"briefing": {
"layerId": "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USDA_Census_of_Agriculture_2022_Grape_Production/FeatureServer/0",
"selection": {
"useAll": true
},
"slides": [
{
"template": "title",
"title": "California grape country",
"subtitle": "USDA Census of Agriculture 2022"
},
{
"template": "key-numbers",
"title": "At a glance",
"blocks": [
{
"type": "stat",
"stat": "count",
"label": "Counties over 1,000 acres"
},
{
"type": "stat",
"stat": "sum",
"field": "GRAPES_ACRES_BEAR_NON_BEAR_TOT",
"label": "Grape acres"
}
]
},
{
"template": "feature",
"title": "Fresno County",
"featureId": "212",
"fit": "feature",
"blocks": [
{
"type": "facts",
"fields": [
"NAME",
"GRAPES_ACRES_BEAR_NON_BEAR_TOT"
]
},
{
"type": "text",
"markdown": "The largest grape acreage in the state: 160,324 acres."
}
]
},
{
"template": "feature",
"title": "Napa County",
"featureId": "230",
"fit": "feature",
"blocks": [
{
"type": "facts",
"fields": [
"NAME",
"GRAPES_ACRES_BEAR_NON_BEAR_TOT"
]
},
{
"type": "text",
"markdown": "57,780 acres, mostly wine grapes."
}
]
}
]
}
}What was checked:
- Written by hand as #map=json: with an inline briefing (no code).
- Opened headless: briefing mode, four slides in order, presenting from slide 1; no issues reported.