# How to create a Pareto chart

**URL:** <https://discuss.elastic.co/t/how-to-create-a-pareto-chart/101899>\
**Category:** Kibana\
**Created:** [September 26, 2017, 8:16pm UTC](https://discuss.elastic.co/t/how-to-create-a-pareto-chart/101899 "2017-09-26T20:16:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![komyg](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@komyg](https://discuss.elastic.co/u/komyg)\
**Post date:** [September 26, 2017, 8:16pm UTC](https://discuss.elastic.co/t/how-to-create-a-pareto-chart/101899/1 "2017-09-26T20:16:01Z")

</div>

Hi,

I am new to Kibana and I am trying to create a pareto chart. However I wasn't able to tell Kibana to use the absolute value of my filter on the left axis and its percent on the right axis. Is there a way to do this, or will I have to create a plugin to support this kind of chart?

Thanks,  
Komyg

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [September 26, 2017, 10:16pm UTC](https://discuss.elastic.co/t/how-to-create-a-pareto-chart/101899/2 "2017-09-26T22:16:59Z")

</div>

I gave it a try and wasn't able to get all the way. The combination of percents and counts with bars and a line means multiple queries and I'm not sure the visual builders in kibana will have the right combination.

I tried with a terms agg on my field, which gave us the frequency but adding a cumulative sum agg in kibana needs a histogram aggregation which means we can't sort the bars in descending order.

I think your best bet for exactly a pareto chart is a plugin. An alternative may be to look into using multiple charts instead.

---

<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:** [October 24, 2017, 10:17pm UTC](https://discuss.elastic.co/t/how-to-create-a-pareto-chart/101899/3 "2017-10-24T22:17:17Z")

</div>

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