PHP Classes

PHP Histogram Titos: Render a histogram of stacked values in a Web page

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 154 All time: 9,001 This week: 138Up
Version License PHP version Categories
histogram-titos 1.0Free For Educatio...5HTML, PHP 5, Graphics, Statistics


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.

Picture of Jorge Guerrero
  Performance   Level  
Name: Jorge Guerrero <contact>
Classes: 1 package by
Country: Mexico Mexico
Age: ???
All time rank: 425351 in Mexico Mexico
Week rank: 389 Up5 in Mexico Mexico Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Calling Script for Class HistogramTitos
Plain text file Histogram.php Class HistogramTitosZip

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,001
This week:138Up