Canvas map with pin markers, data-driven country choropleths and proportional bubble maps. For data maps, give items plus geographic and numeric field names; Canvas handles colors, sizing and legends.
No problems. The parser accepted every line.
kindmarkers · choropleth · bubblemarkers uses pin children; choropleth colors countries from dataset rows; bubble plots sized locations from dataset rows.markersitemsexpressionData rows for kind=choropleth or kind=bubble, e.g. items=sales. Do not embed individual rows in map specs.—regionnameCountry-name column for choropleth, e.g. region=country.—valuenameNumeric column used for country shading or proportional bubble area.—latnameLatitude column for bubble maps.—lonnameLongitude column for bubble maps.—labelnameLocation-name column for bubble maps.—legendbooleanShow a Canvas legend; defaults on for choropleth and bubble, off for markers.—legendTitlestringLegend title, e.g. Revenue ($) or Project value.—highlightstringComma-separated country names to tint, e.g. Japan,Brazil.—bindstateState name that receives the clicked country or marker label.—fitworld · pinsInitial framing: whole world, or zoom to the current pin locations. Re-fits when the pins change.worldclusterbooleanGroup nearby pins into clickable counts. Zooming in separates them.falseinteractivebooleanEnable mouse-wheel zoom and drag pan.truecontrolsbooleanShow Canvas zoom in, zoom out and reset controls. Opt in to preserve the original minimal map appearance.falseroutebooleanJoin the pins with a line in the order they are written, for a trip or a delivery run.falseifconditionShow only when this expression is true, e.g. if=done or if={count>0}. Every element takes it.—tipstringA short explanation shown on hover, keyboard focus or a tap, e.g. tip="Orders not yet shipped": for a term or a number some people won't know, instead of more words on screen. It makes the element a Tab stop if it isn't one. Every element takes it.—Children: pin