Charts

Example 1 shows a barchart created from spreadsheet data. The data file was saved in csv format and uploaded to the server. This script extracted the data and produced the table and bar chart. To update the page, it is only necessary to upload a new csv file - the script does the rest. This chart was created with PHP and standard HTML.

Example 2 shows a line chart drawn using the canvas element of HTML5 and Javascript. Note that canvas is not supported by older browsers; this includes Internet Explorer 8 and earlier versions.


The embedded 'KamPages' logo font is Artifika, from Font Squirrel.