atlashot — data on maps, from a link

Turn {region: value} data into a shareable choropleth map image with a single GET URL. No account, no API key, no code execution.

URL anatomy

https://atlashot.pages.dev/m?map=<mapset>&d=<CODE:value,...>&title=...

Append &format=svg for the raw SVG image (directly embeddable), or &format=json for machine-readable diagnostics.

Parameters

paramrequiredtypedefaultallowedmeaning
mapyesstringa map set id from the table below (e.g. world, europe, us, ro)Which map to draw.
dyesstringcomma-separated CODE:value pairsThe data. CODE is ISO 3166-1 alpha-2 for countries (DE, FR) or ISO 3166-2 for subdivisions (US-CA, RO-CJ). Values: numbers for color scales, or short text labels for categorical maps. Aliases accepted per map set: plain region names everywhere; ISO alpha-3 + ISO numeric (world, europe); EL/UK NUTS-0 (europe); FIPS numeric + bare postal (us); NUTS-3 codes + bare county codes (ro).
titlenostringnoneany text (URL-encoded, + for space)Map title, rendered into the image.
subtitlenostringnoneany textSmaller line under the title.
unitnostringnoneany short textUnit label shown with the legend (e.g. EUR/MWh, %).
sourcenostringnoneany short textData source credit, rendered next to the attribution.
palettenostringblues (numeric), rdbu (mixed-sign), tableau (text)blues, greens, oranges, purples, reds, viridis, rdbu, brbg, puor, tableauColor palette. Sequential for all-positive numbers, diverging (rdbu/brbg/puor) for mixed-sign, tableau for categories.
scalenostringquantile (quantize over a symmetric domain for mixed-sign data)quantile, quantize, linear, threshold:10,20,50How values map to color classes. threshold takes explicit cut points.
classesnointeger53–9Number of color classes.
domainnostringdata min,max (symmetric around 0 for mixed-sign data)min,max (two numbers)Override the scale extent.
formatnostring,.2~fa d3-format specifier (.1f, .0%, ~s) — or the reserved values json and svgNumber format for legend labels. Reserved values change the response instead: format=json returns machine-readable diagnostics (application/json); format=svg returns the map itself as a raw SVG image (image/svg+xml), directly embeddable in <img> tags.
embednoflag01Render only the map (for iframes) — no page chrome.
vnointeger11URL format version.

Map sets

idcoverageregionsregion codes
worldWorld — countries175codes
europeEurope — countries46codes
usUnited States — states51codes
roRomania — județe42codes

Examples

Instructions for AI agents

Errors and diagnostics

Rendering is forgiving: bad rows are skipped with a warning, the rest of the map renders. Append &format=json to any map URL for a true JSON diagnostics report (HTTP 200 when the map renders, 400 when required parameters are missing or wrong).