# Barchart and Subbuckets (Kibana 5.3)

**URL:** <https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034>\
**Category:** Kibana\
**Created:** [April 28, 2017, 4:12pm UTC](https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034 "2017-04-28T16:12:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mw\_jko](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mw\_jko](https://discuss.elastic.co/u/mw_jko)\
**Post date:** [April 28, 2017, 4:12pm UTC](https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034/1 "2017-04-28T16:12:28Z")

</div>

Hi there,

I have a question about visualization.

Is it possible to create the following chart?

1. X-Axis (time based) - mandatory, I need a histogramm.
2. Barchart (Filter) - mandatory, I need the count for a filter visualized.

This is working with ease.

What would be awesome is the following:

Let's assume I have 100 (filtered) events for a specific day. Top 5 Customers take up 60% of this bar. 40% are other customers. Is it possible to achieve this? For another day it's 200 (filtered) events, 80% top 5 customers, 20% rest. And so on.

The subbuckets seem to be limited to specific types, so I can't split the bar any further.

Thank you 🙂

---

<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:** [April 28, 2017, 9:51pm UTC](https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034/2 "2017-04-28T21:51:28Z")

</div>

There's no way to do this at the moment, but it's an interesting idea. Would you mind opening an issue on github so we can take a further look?

---

<div class="post-metadata">

**Author:** ![mw\_jko](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mw\_jko](https://discuss.elastic.co/u/mw_jko)\
**Post date:** [May 2, 2017, 12:09pm UTC](https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034/3 "2017-05-02T12:09:41Z")

</div>

Hey Mark,

thanks for the heads up. Will open an issue 🙂

---

<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:** [May 30, 2017, 12:23pm UTC](https://discuss.elastic.co/t/barchart-and-subbuckets-kibana-5-3/84034/4 "2017-05-30T12:23:26Z")

</div>

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