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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...