Skip to main content

Histogram Chart

This node renders a histogram from a list of values.

The Histogram Chart node visualizes the frequency distribution of a dataset.

The Histogram Chart node takes an array of numbers and groups them into bins, displaying the count of items in each bin as a bar. It is essential for analyzing data distribution, such as "how many spins paid between 10-20 credits?".

Inputs

Data

DataDescription
ValuesThe array of numbers to analyze.
Bin SizeThe width of each bucket (e.g., 10).
Min RangeThe starting value for the first bin. Default: 0.
Max RangeOptional upper limit.

Chart Settings

DataDescription
Bar ColorColor of the bars.
Chart TitleTitle text.
X Axis LabelLabel for X axis.
Y Axis LabelLabel for Y axis.

Actions

SignalDescription
DoTriggers a re-render.

Outputs

This node is purely visual.

Usage

Payout Distribution

  1. Connect the Spin Winnings history (from an Array State Manager or Simulation) to Values.
  2. Set Bin Size to 10.
  3. The chart will show how frequently different payout amounts occur.

Detailed Behavior

  • Binning: Values are grouped: [min, min+size), [min+size, min+2*size), etc.

Troubleshooting

  • Empty Chart: Ensure Values is a non-empty array of numbers.