cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
user profile image

A few different chart types using the HTML5 canvas. Pie chart based on the pen by aaronlsilber which is based on an article by James Litten


  1. Nice. Would be even better (for a markup purist like me) if you could include the 'pie data' variables into the HTML. You already rely on Javascript, so couldn't you pull the data value from an arbitrary argument to an HTML tag? Something like: One That would make the markup more readable, even without JS.

  2. @RavenNevermore so something like this? (pen edited)

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.