# Pie Chart Visualzation

**URL:** <https://discuss.elastic.co/t/pie-chart-visualzation/105670>\
**Category:** Kibana\
**Created:** [October 29, 2017, 5:11pm UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670 "2017-10-29T17:11:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [October 29, 2017, 5:11pm UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/1 "2017-10-29T17:11:35Z")

</div>

Hi -

Am trying to create a pie chart slicing with 3 different fields, lets say as below:

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/c/eca514c4ab3d877dd3f24dd35c88330454004f15.png)

We have 3 other fields as above, I wanted to create a pie chart slicing with this 3 fields, the pie chart something should look like:

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/563b5fa53aa12af5c28e6d13c5abee9a976d2de9.jpg)

Is there any way I can create the pie charts like this, and in my case, all 3 fields comes in a single document, Please let me know. Thanks !

---

<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:** [October 29, 2017, 8:43pm UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/2 "2017-10-29T20:43:16Z")

</div>

It doesn't really make sense to have a pie chart like that does it? Total would contain both used and available, so you can't map those like your example.

You could do a pie chart with multiple levels, ie split slices, and have total as the first slice, and then available and used as the second slice.

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [October 30, 2017, 7:17am UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/3 "2017-10-30T07:17:38Z")

</div>

Hi @warkolm,  
Yes, The example I've provided doesn't make sense, I've 3 fields, like

Pass  
Fail  
Aborted

Should show this 3 fields as above pie chart, would that be feasible ? Please let me know !

---

<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:** [October 30, 2017, 10:06am UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/4 "2017-10-30T10:06:43Z")

</div>

That seems saner, are they all values of one field?

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [October 30, 2017, 10:17am UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/5 "2017-10-30T10:17:34Z")

</div>

Hi @warkolm  
thanks for your reply.  
No, The values are in 3 different fields.

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/c/dcf6c91241507f68b817ebad2e9fcc9bc3f727b3.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb46a5454744cf17c7e94cb435dc67a4fb273f94.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/a/cad6de7ce9a4aa20b497e3bf83fcb9e99a49955d.png)

Please let me know if I need to change the mapping inorder to achieve this.

We have builds running continously and also capturing the build number something like this on ELK, ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/3/5305eed0b0c2c15146b23460c0394b4fe76b0585.png), would like to apply filters for specific build number and show the pass, fail, broken cases report on the piechart . Thanks !

Thanks !

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [October 31, 2017, 2:14pm UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/6 "2017-10-31T14:14:38Z")

</div>

Hi @warkolm -  
Could you please let me know if we have any way to achieve the above requirement.

Thanks.

---

<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:** [November 1, 2017, 2:37am UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/7 "2017-11-01T02:37:43Z")

</div>

Not on 3 different fields, no.

---

<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:** [November 29, 2017, 2:38am UTC](https://discuss.elastic.co/t/pie-chart-visualzation/105670/8 "2017-11-29T02:38:30Z")

</div>

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