# Color regions on a map

> Shade countries, states, continents or world regions by value with the Region Maps component: generate a map with AI or paste your own data, and choose a color scheme.

Source: https://mockflow.com/docs/color-regions-on-a-map

The **Region Maps** component shades whole areas of a map by a number, so a pattern across places is easy to see: students by country, sales by state, survey answers by region or the countries a team has visited. It sits on the board next to the tables and plans behind the numbers.

![A Region map of Europe with countries shaded in blue by the number of students, a legend and a list of the top countries](https://assets.mockflow.com/docs/media/67c353ff1e2a46b98af9978af23f1f25.webp)

## Generate a region map with AI

1. Click **Add anything** (the plus button) in the toolbar at the bottom of the board and choose **Region Maps**.
2. With the map selected, click **Generate with AI** in its toolbar and choose **Generate new**.
3. Describe the data, for example "Population of each country in South America", and click **Generate**. **Examples** offers more ideas.

**Modify with AI** changes the data or regions with a prompt, and **Convert to** turns the map into another kind of item, such as a table or a chart.

## Add your own region data

![The Add your own region data menu over a region map, with numbered markers on Level, the list of regions and values, and Add](https://assets.mockflow.com/docs/media/77736b5da05542d183039abe15d23e06.webp)

Click **Add your own region data** in the map's toolbar.

1. Choose the **Level**: **Countries**, **States / Provinces**, **Continents** or **World regions**.
2. Type or paste one region per line with its value, such as "France, 45".
3. Click **Add**. Each region is shaded by its value.

## Change the colors and the map

- **Color palette:** shade regions with a scheme such as **Blues**, **Greens**, **Reds**, **Viridis** or **Red-Blue (diverging)** for values above and below a midpoint.
- **Toggle Legend** shows the color scale, and **Region List** lists the regions and their values beside the map.
- **Change Map Style:** a plain map with no detail, or light, dark, black, grayscale and white styles.
- **Change Map Projection**, **Toggle Map Labels** and **Reset Zoom / Fit Regions** change how the map is framed.

> **Plan** The Region Maps component is available on every plan. Generating with AI uses AI credits. See [MockFlow pricing](https://mockflow.com/pricing/).

## Next steps

- [Pin places on a map](/docs/pin-places-on-a-map)
- [Add a chart and edit its data](/docs/add-a-chart-and-edit-its-data)
