Histogram
Histogram showing numeric data distribution as binned frequency counts.
Histogram
Graph
Creates a histogram visualization that displays the distribution of numeric data as binned frequency counts. The function takes numeric data and generates a bar chart where the x-axis represents data ranges (bins) and the y-axis shows the frequency count of values within each bin.
Inputs
- x
- The numeric data to create a histogram from. Can be provided as various data structures containing numerical values.
Inputs Types
Input | Types |
---|---|
x |
List , DataSeries , NDArray , DataRecords , DataFrame |
You can check the list of supported types here: Available Type Hints.
Outputs
- x
- The original input data passed through unchanged, used for the histogram visualization.
Outputs Types
Output | Types |
---|---|
x |
List , DataSeries , NDArray , DataRecords , DataFrame |
You can check the list of supported types here: Available Type Hints.
Options
The Histogram brick contains some changeable options:
- 'x' data field
- Specifies which field from the input data to use for the x-axis of the histogram. Defaults to "x".
- max bins for 'x'
- Sets the maximum number of bins to use when grouping the data for the histogram. Controls the granularity of the distribution display, with more bins showing finer detail. Range: 5-300, default: 40.
Brick Info
version
v0.1.4
python
3.10,
3.11,
3.12,
3.13
requirements
-
-