Dashboards & Visualizations

How to draw mutiple histogram (with density curve) charts together?

DS904458
Explorer

Hi,

 

I need draw multiple histogram charts together(lined up like trellis) in one table.

So I could compared multiple distributions at the same time.

 

I have a search that will get multiple products' test result.

Let's say I test 3 products A, B, C.

Product A has 500 results, passed range is between -5~5, Max(result) = 8, min(result) = -6.

B has 350 results, passed range is between -1~1, Max(result) = 1.5, min(result) = -1.2.

C has 420 results, passed range is between 0~2, Max(result) = 2.2, min(result) = 0.3.

I need draw histogram that has result on X axis, count on Y axis, with Density curve on it.

I also need mark the Upper and Lower Limit line on every histogram, from bottom to the top on Y axis.

Basically I need chart like this, with additional upper and lower limit lines. And put mutiple histograms in one panel.

https://stackoverflow.com/questions/64467644/add-density-curve-on-the-histogram

 

 

And the bins number is fixed, let's say 10.

Under this condition. The interval of bin will be dynamic. Every product's histograms bin will have different intervals.

In this example, A's interval will be around 1.4.

B's interval will be around 0.27.

C's interval will be around 0.19 (but C's histogram's X axis range will be around 0~2.2, due to the lower limit line is 0 on X axis).

Labels (3)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...