Examples

A few of the things maproll can do. Each render is a single URL — copy it into any image tag.

World choropleth, dark theme

A standard sequential choropleth on the world map. Pass id:value pairs and maproll quantile-bins them across the theme's color ramp.

GET /map.svg?scope=world&data=US:200,CN:150,IN:80,...&theme=dark

Section visual

Region highlight, no values

Section visual

Skip the data and just highlight a set of regions. Use the regions= query param with a comma-separated list of ISO codes.

GET /map.svg?scope=world&regions=RO,DE,FR,IT,ES,PT,NL,...&theme=light-mono

Diverging color scale

Switch the color scale to diverging when your values cross zero. The scale anchors at the midpoint and uses a perceptually balanced palette.

GET /map.svg?scope=world&data=US:5,CN:8,RU:-5,DE:6,FR:-4,...&theme=light&colorScale=diverging

Section visual

Every example is a URL.

Copy any one of these into a README and you have a live, cached map.

Read the docsOpen the app