# How to draw a bell curve for API response time ?

**URL:** <https://community.dynatrace.com/t/how-to-draw-a-bell-curve-for-api-response-time/47516>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, dashboards\
**Created:** [September 6, 2024, 4:25am UTC](https://community.dynatrace.com/t/how-to-draw-a-bell-curve-for-api-response-time/47516 "2024-09-06T04:25:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsha-kumara](https://avatars.discourse-cdn.com/v4/letter/h/ccd318/32.png) [@harsha-kumara](https://community.dynatrace.com/u/harsha-kumara)\
**Post date:** [September 6, 2024, 4:25am UTC](https://community.dynatrace.com/t/how-to-draw-a-bell-curve-for-api-response-time/47516/1 "2024-09-06T04:25:26Z")

</div>

how do i draw a graph like this for API response times ?

 ![harshakumara_0-1725596681040.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/e/7e7bc559f75cabbf7d20c9ab379b335bfa6cb846.png)

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 6, 2024, 5:38am UTC](https://community.dynatrace.com/t/how-to-draw-a-bell-curve-for-api-response-time/47516/2 "2024-09-06T05:38:58Z")

</div>

not sure there is a bell curve graph available in dynatrace , but you should be able to plot these in a different graph format.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [September 10, 2024, 2:53am UTC](https://community.dynatrace.com/t/how-to-draw-a-bell-curve-for-api-response-time/47516/3 "2024-09-10T02:53:27Z")

</div>

Hey Harsha-Kumara, you could use a categorical bar chart as seen below.

 ![Fin_Ubels_0-1725936316512.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e0ef8f077893137e09efa46170dd05152b075fc3.png)

In this example I have 60ish records of varying values between 0-100. On line 5 we then count each one into bins of predefined width. In this example there are 6 requests with response time from 0ms-10ms, 6 requests with response time 10ms-20ms, 8 requests with response time 20ms-30ms and so on. Using this against real data, assuming there is such a distribution in your environment, you’d expect to see a bell curve.

To calculate the value of a specific percentile you can summarize by percentile as seen below.

 ![Fin_Ubels_1-1725936693382.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/e/5e6dbe0125de8a48c8da3991b263935845a1ab14.png)
