# How to create a line chart featuring an average as line and max and min as bubbles?

**URL:** <https://discuss.elastic.co/t/how-to-create-a-line-chart-featuring-an-average-as-line-and-max-and-min-as-bubbles/81825>\
**Category:** Kibana\
**Created:** [April 10, 2017, 1:30pm UTC](https://discuss.elastic.co/t/how-to-create-a-line-chart-featuring-an-average-as-line-and-max-and-min-as-bubbles/81825 "2017-04-10T13:30:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [April 10, 2017, 1:30pm UTC](https://discuss.elastic.co/t/how-to-create-a-line-chart-featuring-an-average-as-line-and-max-and-min-as-bubbles/81825/1 "2017-04-10T13:30:19Z")

</div>

Hi,

I am using ELK GA 5.0.0. In my Elasticsearch, I have an index containing some number data. I am able to plot a line graph using the `Average` in Y-Axis aggregation, and date histogram in X-Axis. I managed to create 2 more similar charts with `Max` and `Min` aggregation. What I am trying to achieve is, I want to get all these in a single chart. Max and Min as circles and Avg as a line. Below is an image I found on [elastic.co](http://elastic.co), and I am trying to achieve that;

[![](https://static-www.elastic.co/assets/bltdf676a11b38e207c/kibana-time.jpg?q=789) ](https://static-www.elastic.co/assets/bltdf676a11b38e207c/kibana-time.jpg?q=789)

How can I create a visualization like this? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 10, 2017, 7:17pm UTC](https://discuss.elastic.co/t/how-to-create-a-line-chart-featuring-an-average-as-line-and-max-and-min-as-bubbles/81825/2 "2017-04-10T19:17:30Z")

</div>

Those are part of the Earthquake demo for Elasticon Tour16. You can find the repo with the details on how to reproduce it and with the syntax for those 3 visualizations.

> **[tbragin/elasticon\_tour16\_demo](https://github.com/tbragin/elasticon_tour16_demo)**
>
> elasticon\_tour16\_demo - Demo setup for Elasticon Tour 16

They are Timelion charts and you have some reference in the upper right of the Timelion tab, in the Docs.

---

<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 8, 2017, 8:18pm UTC](https://discuss.elastic.co/t/how-to-create-a-line-chart-featuring-an-average-as-line-and-max-and-min-as-bubbles/81825/4 "2017-05-08T20:18:21Z")

</div>

Closed on May 8, 2017, 8:18pm UTC

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