# How to show two terms in simple chart

**URL:** <https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746>\
**Category:** Kibana\
**Created:** [May 15, 2017, 11:11am UTC](https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746 "2017-05-15T11:11:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticsaad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticsaad/32/18184_2.png) [@elasticsaad](https://discuss.elastic.co/u/elasticsaad)\
**Post date:** [May 15, 2017, 11:11am UTC](https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746/1 "2017-05-15T11:11:11Z")

</div>

Hi,  
it can be a stupide question, but i dont found a solution to do that simple thing.  
suppose i have this art of doc:

```
{
    "_index": "index1",
    "_type": "doc1",
    "_id": "1",
    "_source": {
      "name": "Object1",
      "values": {
        "val1": 1,
        "val2": 2
      }
    }
},
{
    "_index": "index1",
    "_type": "doc1",
    "_id": "2",
    "_source": {
      "name": "Object2",
      "values": {
        "val1": 2,
        "val2": 6
      }
    }
}

```

How can i for example create a scatter chart that shows the exact **val1** as values for _x-axis_ and **val2** for _y-axis_?

```
val2
^
|
| x
|
| x
|
|-------------------------------------> val1

```

Thanks!

---

<div class="post-metadata">

**Author:** ![Nico-DF](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@Nico-DF](https://discuss.elastic.co/u/Nico-DF)\
**Post date:** [May 15, 2017, 11:20am UTC](https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746/2 "2017-05-15T11:20:44Z")

</div>

A Heatmap shall do the trick

---

<div class="post-metadata">

**Author:** ![elasticsaad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticsaad/32/18184_2.png) [@elasticsaad](https://discuss.elastic.co/u/elasticsaad)\
**Post date:** [May 15, 2017, 2:18pm UTC](https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746/3 "2017-05-15T14:18:22Z")

</div>

yes, i can do that, but i have too many points to visualize and it looks not really nice. A scatter plot will be perfect for me.

---

<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 12, 2017, 2:25pm UTC](https://discuss.elastic.co/t/how-to-show-two-terms-in-simple-chart/85746/4 "2017-06-12T14:25:24Z")

</div>

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