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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...