# Create a map using country codes

**URL:** <https://discuss.elastic.co/t/create-a-map-using-country-codes/186070>\
**Category:** Kibana\
**Created:** [June 17, 2019, 1:13pm UTC](https://discuss.elastic.co/t/create-a-map-using-country-codes/186070 "2019-06-17T13:13:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreasky](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@Andreasky](https://discuss.elastic.co/u/Andreasky)\
**Post date:** [June 17, 2019, 1:13pm UTC](https://discuss.elastic.co/t/create-a-map-using-country-codes/186070/1 "2019-06-17T13:13:35Z")

</div>

I want to make a visualisation in Kibana of phone calls made, by using the country code at the beginning of the phone number. Does someone know how to do this?

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [June 17, 2019, 5:42pm UTC](https://discuss.elastic.co/t/create-a-map-using-country-codes/186070/2 "2019-06-17T17:42:50Z")

</div>

Currently, it is only possible to visualize countries based on their [ISO 3166-1 alpha 2 or alpha 3 codes](https://maps.elastic.co/#file/world_countries).

Also, [country codes](https://countrycode.org/) are not always unique to countries. For example, Canada and the United States appear use the same country code (`1`).

---

<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:** [July 15, 2019, 5:42pm UTC](https://discuss.elastic.co/t/create-a-map-using-country-codes/186070/3 "2019-07-15T17:42:54Z")

</div>

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