# Can I discover clusters of numeric values with Graph

**URL:** https://discuss.elastic.co/t/can-i-discover-clusters-of-numeric-values-with-graph/57704
**Category:** Kibana
**Tags:** elastic-stack-graph
**Created:** [August 10, 2016, 12:19pm UTC](https://discuss.elastic.co/t/can-i-discover-clusters-of-numeric-values-with-graph/57704 "2016-08-10T12:19:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kolov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kolov/32/11303_2.png) [@kolov](https://discuss.elastic.co/u/kolov)
#### Post date: [August 10, 2016, 12:19pm UTC](https://discuss.elastic.co/t/can-i-discover-clusters-of-numeric-values-with-graph/57704/1 "2016-08-10T12:19:53Z")

</div>

I have a set of data about software projects with code quality metrics. Although I have defined the metric values as integer in the index mapping, in Graph I see separate vertices named 0, 4, 10, 11 etc, while I am interested in relevant relations like "projects of team A have high coverage, projects of team B have low coverage" (I have twisted the data to introduce this relation). Is this possible with Graph?

---

<div class="post-metadata">

### Author: ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)
#### Post date: [August 10, 2016, 12:45pm UTC](https://discuss.elastic.co/t/can-i-discover-clusters-of-numeric-values-with-graph/57704/2 "2016-08-10T12:45:19Z")

</div>

> [@kolov](#):
>
> in Graph I see separate vertices named 0, 4, 10, 11 etc,

Generally graph is intended for exploring the connections between _nouns_ (people, projects, source files, hashtags). Fields that represent quantities (e.g. a 0-100 quality measure) tend to be less useful to represent as nodes in a graph and so we don't currently provide support for this.

To identify teams that under-perform in code quality metrics I would be more tempted to use a [range](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-range-aggregation.html) or [histogram](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-histogram-aggregation.html) aggregation on the numeric `quality` field then underneath slot a [significant terms](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-aggregations-bucket-significantterms-aggregation.html) aggregation on the `team` field. This would identify teams that are disproportionately represented in a particular band of quality metrics.

---

<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: [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/can-i-discover-clusters-of-numeric-values-with-graph/57704/3 "2017-07-06T13:42:43Z")

</div>


