US states region maps

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.

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

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

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?

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.

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