# Visualising the presence of a term

**URL:** <https://discuss.elastic.co/t/visualising-the-presence-of-a-term/165900>\
**Category:** Kibana\
**Created:** [January 27, 2019, 12:36pm UTC](https://discuss.elastic.co/t/visualising-the-presence-of-a-term/165900 "2019-01-27T12:36:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eranzar](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eranzar](https://discuss.elastic.co/u/eranzar)\
**Post date:** [January 27, 2019, 12:36pm UTC](https://discuss.elastic.co/t/visualising-the-presence-of-a-term/165900/1 "2019-01-27T12:36:39Z")

</div>

i have a term (let's say county) and i want to visualise the existence of it on the database instead of the regular distribution(i.e. the names of the counties) -using kibana visualize.  
for example if the term exist on 98 out of 100 entries and 2 are null,i want the pie to show this distribution.

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [January 28, 2019, 12:57pm UTC](https://discuss.elastic.co/t/visualising-the-presence-of-a-term/165900/2 "2019-01-28T12:57:28Z")

</div>

Hey @eranzar,

You can use the "filter" bucket to achieve this. In my example below, I have a field, `attributes.battery`, which only exists on some documents. I can build a pie chart to visualize it like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/1/a1ba44721f87cdae060606c949736d808031a9c6.png)

---

<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:** [February 25, 2019, 12:57pm UTC](https://discuss.elastic.co/t/visualising-the-presence-of-a-term/165900/3 "2019-02-25T12:57:40Z")

</div>

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