PHP Classes

boxPlot: Render box plot charts from data sets

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 845 This week: 1All time: 4,107 This week: 79Up
Version License PHP version Categories
boxplot 1.0.0GNU General Publi...4.0Graphics


This class can be used to render box plot charts from an array of data.

It takes an array with the values to plot and makes the necessary calculations to determine the positions of the boxes rendered in the chart.

The class generates an image of a given width and height and stores it in JPEG format file.

In this new version, you can render more than one data array and add a series names in each bloxplot.

You can also display some statistic information about each series.

Finally we fixed some bugs in boxplot draw algorithm.

Innovation Award
PHP Programming Innovation award nominee
May 2008
Number 9

Prize: One book of choice by Packt
Box plot charts are a type of charts that is used to represent graphically groups of data.

This type of charts is quite unusual but this class make it possible to generate them using PHP scripts.

Manuel Lemos
Picture of caio nakashima
Name: caio nakashima <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 56
All time rank: 2574177 in Brazil Brazil
Week rank: 93 Up7 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  • example.jpg
  • statistic.jpg
  Files folder image Files  
File Role Description
Plain text file boxPlot.php Class Class to Draw a BoxPlot
Plain text file boxPlotExtend.php Class Allow render more than one data series in boxBlot chart
Plain text file Example.php Example Example code to use the class
Plain text file ExampleSingleSerie.php Example Render one data series and show this statistic description
Plain text file ExampleSingleSerieDesc.php Example Render four data series example 46KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
GD2 Class Download .zip .tar.gz GD library is necessary to draw the graphic Required
 Version Control Unique User Downloads Download Rankings  
This week:1
All time:4,107
This week:79Up