# Configurable visualization

**URL:** <https://discuss.elastic.co/t/configurable-visualization/284990>\
**Category:** Kibana\
**Created:** [September 23, 2021, 10:47am UTC](https://discuss.elastic.co/t/configurable-visualization/284990 "2021-09-23T10:47:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulBuciuman](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@PaulBuciuman](https://discuss.elastic.co/u/PaulBuciuman)\
**Post date:** [September 23, 2021, 10:47am UTC](https://discuss.elastic.co/t/configurable-visualization/284990/1 "2021-09-23T10:47:19Z")

</div>

I'm create a simple visualization that shows using a treemap, top 20 request times from an API. But I want that 20 to be **configurable** outside the settings page, similar to the way I can **customize** the time range. Is this possible? Thanks!

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [September 23, 2021, 10:35pm UTC](https://discuss.elastic.co/t/configurable-visualization/284990/2 "2021-09-23T22:35:01Z")

</div>

I'm not sure if Kibana provides the "treemap" functionality that you are thinking of, but hopefully this will help:

If you know ahead of time the 20 buckets that you want to show, you can use Lens and the "Filters" aggregation to create 20 filters that divide the data into the different ranges.

Here's an example of using the Filters aggregation to show a chart that focuses on 2 different ranges of `machine.ram` in the web logs sample data:

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

---

<div class="post-metadata">

**Author:** ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)\
**Post date:** [September 27, 2021, 2:54pm UTC](https://discuss.elastic.co/t/configurable-visualization/284990/3 "2021-09-27T14:54:48Z")

</div>

FWIW Kibana does have a treemap option!

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5f059ebb3295aaeba0e3db0d80a9f2b007d9f18a.png)

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [September 27, 2021, 5:33pm UTC](https://discuss.elastic.co/t/configurable-visualization/284990/4 "2021-09-27T17:33:04Z")

</div>

Thank you! Screenshots always help 🙂

---

<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 25, 2021, 5:33pm UTC](https://discuss.elastic.co/t/configurable-visualization/284990/5 "2021-10-25T17:33:06Z")

</div>

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