This class can render a histogram of stacked values in a Web page.
It take an array of values and generates HTML and CSS to display a histogram the values on a Web page.
The class can take parameters to define the starting value, number of bins, and intervals.
The histogram output includes relative frequency per bin to determine normal distribution of the set of values input.
The normal distribution is the relative percentage to the whole set per bin, that is all values add up to 1 or 100%. It allows to add the frequencies from left to right or right to left to determine the chances of getting in the set something of less or greater value from a particular bin.
The class also returns HTML for notes about the histogram. |