# Geopoint based pie chart map for success and failed results?

**URL:** <https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [May 24, 2021, 3:21pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842 "2021-05-24T15:21:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 24, 2021, 3:21pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/1 "2021-05-24T15:21:35Z")

</div>

Hello

I have a index with geopoints and a result which is either "failure" or "success". I would like to draw points on the map with each result but red points are failures and green points are successful.

The issue is that on a 2D plane, you cant really represent that.

I think the best way would be to represent each point as a "pie chart" showing the total count of failure and successful documents and show that on the map.

Ive been looking around in Kibana and Im not sure if there is a way to do thisl.

Is it possible?

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 24, 2021, 4:39pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/2 "2021-05-24T16:39:23Z")

</div>

Sorry for not tagging. My mistake.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 24, 2021, 4:48pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/3 "2021-05-24T16:48:42Z")

</div>

No Worries, Just trying to get the maps people to look at it.

I often answer geo / maps questions but I don't know the answer for this, my instinct is that we don't have that yet in a pie chart, lets see if someone answers.

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 25, 2021, 10:34am UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/4 "2021-05-25T10:34:12Z")

</div>

Thank you for your help.

If this isnt implemented, from your experience and opinion, what would be the best way to show this?

The idea might be a section on the left of a dashboard that shows both results: Failed and success. I click on Failed, it filters it and shows on the right side of the dashboard a map and all Failed points. I click on Success (on the left side) and it shows all Success points.

I dont know if I explained myself correctly.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 25, 2021, 10:44am UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/5 "2021-05-25T10:44:48Z")

</div>

As @stephenb mentioned there is no direct way to show the distribution of an aggregated dataset. The last bit you mention is exactly what Dashboards do. Just add your map and a panel with a barchart or a piechart of your failed and successes and clicking on them will add a filter on your dashboard that will also filter the data on the map.

Check this quick clip showing flight positions. The chart on the right will show positions of planes on the ground versus on the air. Clicking on the chart will create a pill that filters **all** the data displayed in the dashboard.

Hope it helps!

 ![Peek 2021-05-25 12-44](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a84369177187ce7e77ca525af12ea8b8240c3191.gif)

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 25, 2021, 2:52pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/6 "2021-05-25T14:52:06Z")

</div>

> [@jsanz](#):
>
> flight positions

This looks intresting as a concept. Im not sure if this would be ideal BUT implementing it might lead me in a better direction.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 27, 2021, 4:06pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/7 "2021-05-27T16:06:31Z")

</div>

So I took a look at it and implemented and honestly....It doesnt mean natural to remove a filter.

Is there a way to, via a graphic, click and switch between them?

For your example, it would be a panel saying "Is it on the ground?" and it is clickable between yes and no, without removing the filter like the clip you posted.

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 27, 2021, 5:11pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/8 "2021-05-27T17:11:01Z")

</div>

> Is there a way to, via a graphic, click and switch between them?

Not that I'm aware, sorry.

The workflow I mentioned is a very standard Kibana procedure, it works with basically all panels you can add to a dashboard (histograms, barcharts, etc).

It could also be achieved using the search bar that handles nicely autocompletion.

Additionally, there's even a more advanced feature related with filtering that allows you to connect different dashboards called [Drilldowns](https://www.elastic.co/guide/en/kibana/current/drilldowns.html).

I'm sorry if this does not meet your requirements.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [May 27, 2021, 7:55pm UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/9 "2021-05-27T19:55:15Z")

</div>

There is an open issue for displaying the marker as a pie chart, [[Maps] Tile map circles as pie charts · Issue #2288 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/2288). I think is what you are looking for

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 28, 2021, 6:29am UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/10 "2021-05-28T06:29:59Z")

</div>

Yeah, Im seeing other examples and like you said: It seems to be very standard Kibana procedure. I guess I am not used to it.

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [May 28, 2021, 6:31am UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/11 "2021-05-28T06:31:06Z")

</div>

I saw that issue but its been open since 2014; I doubt any work related to it has been done or there is any intrest in it.

Thanks for all the help everyone.

---

<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, 2021, 6:32am UTC](https://discuss.elastic.co/t/geopoint-based-pie-chart-map-for-success-and-failed-results/273842/12 "2021-06-25T06:32:04Z")

</div>

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