# US states region maps

**URL:** https://discuss.elastic.co/t/us-states-region-maps/182716
**Category:** Kibana
**Created:** [May 24, 2019, 7:30pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716 "2019-05-24T19:30:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ambarish\_Chitnis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ambarish_chitnis/32/45312_2.png) [@Ambarish\_Chitnis](https://discuss.elastic.co/u/Ambarish_Chitnis)
#### Post date: [May 24, 2019, 7:30pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/1 "2019-05-24T19:30:33Z")

</div>

I want to know how I can define the regions for all the 50 US states. I am trying to build a simple region map showing the population of the 50 US states.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 24, 2019, 7:36pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/2 "2019-05-24T19:36:35Z")

</div>

What version are you on? There's a US states vector map in 7.X that you can use out of the box.

---

<div class="post-metadata">

### Author: ![Ambarish\_Chitnis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ambarish_chitnis/32/45312_2.png) [@Ambarish\_Chitnis](https://discuss.elastic.co/u/Ambarish_Chitnis)
#### Post date: [May 24, 2019, 7:37pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/3 "2019-05-24T19:37:39Z")

</div>

I am on Kibana 7.1. Please can you let me know how to use the US states vector map.

---

<div class="post-metadata">

### Author: ![Ambarish\_Chitnis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ambarish_chitnis/32/45312_2.png) [@Ambarish\_Chitnis](https://discuss.elastic.co/u/Ambarish_Chitnis)
#### Post date: [May 24, 2019, 7:45pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/4 "2019-05-24T19:45:08Z")

</div>

Specifically, please could you send me a sample JSON document for one state (with state and population as features) and the mapping?

Assuming this is my index:

{"index":{"\_index":"population","\_id":0}}  
{state:"WA", population:"20000"}

How would I define the mapping?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 27, 2019, 11:55pm UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/5 "2019-05-27T23:55:23Z")

</div>

What you have looks good. You should just need to have the `state` mapped as a string, then you can use that as the join field in the map vis.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 25, 2019, 12:05am UTC](https://discuss.elastic.co/t/us-states-region-maps/182716/6 "2019-06-25T00:05:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
