# Visualization in Kibana - Y axis configured dynamically

**URL:** <https://discuss.elastic.co/t/visualization-in-kibana-y-axis-configured-dynamically/181307>\
**Category:** Elasticsearch\
**Created:** [May 16, 2019, 4:18am UTC](https://discuss.elastic.co/t/visualization-in-kibana-y-axis-configured-dynamically/181307 "2019-05-16T04:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay\_Saatyaki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanjay_saatyaki/32/46255_2.png) [@Sanjay\_Saatyaki](https://discuss.elastic.co/u/Sanjay_Saatyaki)\
**Post date:** [May 16, 2019, 4:18am UTC](https://discuss.elastic.co/t/visualization-in-kibana-y-axis-configured-dynamically/181307/1 "2019-05-16T04:18:00Z")

</div>

Hi, I added 3 values similar to the json i have attached below. When i am creating a visualization with sub-buckets I am encountering issues in the y axis. The scale of the y axis is dynamically as the below snap shot  
**Sample Json**  
{  
"\_index": "emp\_db",  
"\_type": "emp\_profile",  
"\_id": "12345",  
"\_version": 1,  
"\_score": 0,  
"\_source": {  
"name": "XXX",  
"email": "XXX@yyy.com",  
"dept": "RRRR/CCC",  
"role": "Architect",  
"projects": [  
"abc",  
"cdef"  
],  
"skills": [  
{  
"name": "Java",  
"level": "Advanced"  
},  
{  
"name": "DevOps",  
"level": "Advanced"  
},  
{  
"name": "Jenkins",  
"level": "Advanced"  
},  
{  
"name": "Docker",  
"level": "Beginer"  
}  
]  
}  
}  
In the other 2 json the value of the java in skills is Advanced. But while creating the visualization it is repesenting that java has values like beginner, and intermediate.

Snapshot is attached below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/9/796b268482b007601548d1bad5348fe7e9424d5d.png)

Here the value of the Y axis is supposed to be 3.Since i have only 3 values. But it changed dynamically as 6 when add sub-bucket. How can i resolve this??

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

The Y - axis is set to count and X axis - skill name, skill level

---

<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:** [June 13, 2019, 4:18am UTC](https://discuss.elastic.co/t/visualization-in-kibana-y-axis-configured-dynamically/181307/2 "2019-06-13T04:18:01Z")

</div>

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