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
Get Updates on the Splunk Community!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...