Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Progressive <canvas> bar, line and pie charts

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 index.html
Octocat-spinner-32 jquery.peity.js
Octocat-spinner-32 jquery.peity.min.js
README.markdown

Peity

Peity (sounds like deity) is a simple jQuery plugin that converts an element's content into a simple mini canvas pie, line or bar chart.

Basic Usage

HTML

<span class="pie">3/5</span>
<span class="line">3,5,1,6,2</span>
<span class="bar">2,5,3,6,2,1</span>

Javascript (jQuery)

$("span.pie").peity("pie");
$("span.line").peity("line");
$("span.bar").peity("bar");

Docs

More detailed usage can be found at benpickles.github.com/peity.

Something went wrong with that request. Please try again.