# Visualize same graphs for different data

**URL:** <https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836>\
**Category:** Kibana\
**Created:** [February 25, 2020, 11:13am UTC](https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836 "2020-02-25T11:13:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_Romero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavier_romero/32/63274_2.png) [@Xavier\_Romero](https://discuss.elastic.co/u/Xavier_Romero)\
**Post date:** [February 25, 2020, 11:13am UTC](https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836/1 "2020-02-25T11:13:52Z")

</div>

Hi all\_

My documents looks like:

> ```
> characteristic1: "something",
> characteristic2: "something",
> ...
> characteristic100: "something"
> result: "something"
> 
> ```

So I want to visualize how each characteristic (let's say we have 100) relates to result, for example drawing Bars and/or Pies aggregated by result and sub-aggregated by the characteristic, etc.

Do I need to reproduce each graph 100 times one for each characteristic or there is a better approach?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [February 25, 2020, 7:53pm UTC](https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836/2 "2020-02-25T19:53:19Z")

</div>

Hello!

I don't believe you can create a graph like this in an automated way, but you could certainly plot each characteristic on the same graph by adding multiple "metrics" or "buckets" to a single graph, one for each characteristic.

Could you give more information on exactly the result you're looking for? For example, for a bar graph, what are you trying to use for the X and Y axis?

---

<div class="post-metadata">

**Author:** ![Xavier\_Romero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavier_romero/32/63274_2.png) [@Xavier\_Romero](https://discuss.elastic.co/u/Xavier_Romero)\
**Post date:** [February 25, 2020, 8:46pm UTC](https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836/3 "2020-02-25T20:46:51Z")

</div>

Hello!

We have an algorithm that assigns a rating (A, B, C, ...) to a lead (in marketing terms). We want to visualize the distribution of ratings for each characteristic (Age, Gender, Town, O.S., Browser, Phone model, channel, etc).  
For a bar, the Y axis would be the count of leads, and the X axis could be the rating aggregated by characteristic (or the characteristic aggregated by rating).

A pie could also be useful, for example  
 ![screenshot](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9bc2e5fd856a7aebaf505302c84b852ce6a4821c.png)  
In this case, the inner data is the device (the characteristic) and the outer circle is the rating (result).

Thank you very much!

---

<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:** [March 24, 2020, 8:56pm UTC](https://discuss.elastic.co/t/visualize-same-graphs-for-different-data/220836/4 "2020-03-24T20:56:59Z")

</div>

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