# Kibana Vega bubble chart not working

**URL:** <https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786>\
**Category:** Kibana\
**Created:** [July 19, 2020, 11:53am UTC](https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786 "2020-07-19T11:53:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BayMax\_07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baymax_07/32/72400_2.png) [@BayMax\_07](https://discuss.elastic.co/u/BayMax_07)\
**Post date:** [July 19, 2020, 11:53am UTC](https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786/1 "2020-07-19T11:53:27Z")

</div>

I have field in index and trying to make a scatter chart out of it. But it's showing only axis.

{  
$schema: [https://vega.github.io/schema/vega-lite/v2.json](https://vega.github.io/schema/vega-lite/v2.json)  
mark: point  
data: {  
url: {  
%context%: true  
%timefield%: @timestamp  
index: load\_log  
body: {  
size: 0  
\_source: ["io\_mbytes", "total\_cpu", "user"]  
}  
}  
}  
transform: [  
{  
aggregate: [  
{op: "sum", field: "\_source['total\_cpu']", as: "sum\_cpu"}  
]  
groupby: ["\_source.user"]  
}  
{  
aggregate: [  
{op: "sum", field: "\_source['io\_in\_mbytes']", as: "sum\_io"}  
]  
groupby: ["\_source.user"]  
}  
]  
mark: point  
encoding: {  
x: {field: "sum\_cpu", type: "quantitative"}  
y: {field: "sum\_io", type: "quantitative"}  
}  
}

---

<div class="post-metadata">

**Author:** ![BayMax\_07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baymax_07/32/72400_2.png) [@BayMax\_07](https://discuss.elastic.co/u/BayMax_07)\
**Post date:** [July 19, 2020, 11:54am UTC](https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786/2 "2020-07-19T11:54:03Z")

</div>

Please suggest some solution.

---

<div class="post-metadata">

**Author:** ![BayMax\_07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baymax_07/32/72400_2.png) [@BayMax\_07](https://discuss.elastic.co/u/BayMax_07)\
**Post date:** [July 19, 2020, 11:55am UTC](https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786/3 "2020-07-19T11:55:25Z")

</div>

I want to plot sum of io vs sum of cpu for the user and size it by no of user.

Please 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:** [August 16, 2020, 11:55am UTC](https://discuss.elastic.co/t/kibana-vega-bubble-chart-not-working/241786/4 "2020-08-16T11:55:28Z")

</div>

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