# Problem with the size of the circles in Map

**URL:** https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570
**Category:** Kibana
**Created:** [May 4, 2023, 2:35pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570 "2023-05-04T14:35:35Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Phildefer](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Phildefer](https://discuss.elastic.co/u/Phildefer)
#### Post date: [May 4, 2023, 2:35pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/1 "2023-05-04T14:35:35Z")

</div>

I don't understand how Kibana manages the size of proportional circles in Map.  
For example I want to map data with a proportional circle linked to a variable (fatalities) so I know that the maximum value is 136. My problem is that in the legend the maximum circle corresponds to a lower value in this case 56. The circle corresponding to the point with a value of 136 is present but it is the size attributed to the maximum value in the legend, i.e. 56.

Does anyone have an idea?  
Thank you.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/0/20482d68cd9f6a1df3766e4c0914e986884cbc3a.jpeg)

---

<div class="post-metadata">

### Author: ![Alex\_Salgado-Elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_salgado-elastic/32/103081_2.png) [@Alex\_Salgado-Elastic](https://discuss.elastic.co/u/Alex_Salgado-Elastic)
#### Post date: [May 4, 2023, 9:10pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/2 "2023-05-04T21:10:19Z")

</div>

Hello, a few questions:

- What version of Kibana/elasticsearch are you using?
- What is the data type of the 'fatalities' field?
- Can you perform a query showing its results?

---

<div class="post-metadata">

### Author: ![Phildefer](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Phildefer](https://discuss.elastic.co/u/Phildefer)
#### Post date: [May 4, 2023, 9:26pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/3 "2023-05-04T21:26:06Z")

</div>

Hi,

Version 8.7  
Fatalities : "fatalities": "type": "long"  
A query on Fatalities (maximum) :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/1/013c505843083f1b943dd62d3d128f725be5e0a2.png)

Thx!

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [May 5, 2023, 7:16pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/4 "2023-05-05T19:16:31Z")

</div>

By default, min and max values are clamped to be within 3 standard deviations of medium. You can see this setting under `Data mapping`.

 ![Screen Shot 2023-05-05 at 12.54.16 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e780d77ab5f124787ef191d15598a5e22cc38b91.png)

You can increase standard deviations to increase the effects of the outlier on the data set.

There is a bug where the size legend does not clearly indicate that values can be great than max when clamped by standard deviation. I have created [[maps] size legend does not indicate when min or max clamped by std range · Issue #156907 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/156907) to track the issue.

To view the standard deviation for the data set, click `Inspect` to view elasticsearch requests. Set `View: Requests` and locate the request name "INTERACTIONS - metadata". See image below for example metadata request response.

 ![Screen Shot 2023-05-05 at 12.51.31 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6dfb8d9ab6440b86d847f17d9b5c04c5381e6a5d.png)

---

<div class="post-metadata">

### Author: ![Phildefer](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Phildefer](https://discuss.elastic.co/u/Phildefer)
#### Post date: [May 5, 2023, 8:03pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/5 "2023-05-05T20:03:28Z")

</div>

Thx  
Well noted for the bug.  
I pushed sigma to 5.  
So if I understand, it's impossible to have in the legend the real max of the data selected for the map? It's strange because at the end the map is false ....

He is the result for fatalities :  
{  
"rawResponse": {  
"took": 0,  
"timed\_out": false,  
"\_shards": {  
"total": 1,  
"successful": 1,  
"skipped": 0,  
"failed": 0  
},  
"hits": {  
"total": {  
"value": 138171,  
"relation": "eq"  
},  
"max\_score": null,  
"hits":   
},  
"aggregations": {  
"fatalities\_range": {  
"count": 138171,  
"min": 0,  
"max": 600,  
"avg": 2.814686149770936,  
"sum": 388908,  
"sum\_of\_squares": 16896374,  
"variance": 114.36350637156049,  
"variance\_population": 114.36350637156049,  
"variance\_sampling": 114.36433407298895,  
"std\_deviation": 10.694087449219802,  
"std\_deviation\_population": 10.694087449219802,  
"std\_deviation\_sampling": 10.694126148170731,  
"std\_deviation\_bounds": {  
"upper": 24.20286104821054,  
"lower": -18.57348874866867,  
"upper\_population": 24.20286104821054,  
"lower\_population": -18.57348874866867,  
"upper\_sampling": 24.202938446112398,  
"lower\_sampling": -18.573566146570528  
}  
}  
}  
},  
"isPartial": false,  
"isRunning": false,  
"total": 1,  
"loaded": 1,  
"isRestored": false  
}

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [May 5, 2023, 9:44pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/6 "2023-05-05T21:44:58Z")

</div>

> [@Phildefer](#):
>
> It's strange because at the end the map is false

The map is not false, the scale shows statistically relevant range.

You can disable the standard deviation clamping by

1. under `Scaling`, selecting "Limit results to 10,000"
2. Then under `Data mapping`, disable "Get min and max from data set".

---

<div class="post-metadata">

### Author: ![Phildefer](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Phildefer](https://discuss.elastic.co/u/Phildefer)
#### Post date: [May 5, 2023, 11:06pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/7 "2023-05-05T23:06:21Z")

</div>

Understood, this is maybe the solution for me.  
Thx

---

<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 2, 2023, 11:06pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570/8 "2023-06-02T23:06:51Z")

</div>

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