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
| Data | Description |
|---|---|
| Values | The array of numbers to analyze. |
| Bin Size | The width of each bucket (e.g., 10). |
| Min Range | The starting value for the first bin. Default: 0. |
| Max Range | Optional upper limit. |
Chart Settings
| Data | Description |
|---|---|
| Bar Color | Color of the bars. |
| Chart Title | Title text. |
| X Axis Label | Label for X axis. |
| Y Axis Label | Label for Y axis. |
Actions
| Signal | Description |
|---|---|
| Do | Triggers a re-render. |
Outputs
This node is purely visual.
Usage
Payout Distribution
- Connect the Spin Winnings history (from an Array State Manager or Simulation) to Values.
- Set Bin Size to 10.
- 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.