Need help with peity?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

benpickles
4.2K Stars 409 Forks MIT License 327 Commits 23 Opened issues

Description

Progressive <svg> pie, donut, bar and line charts

Services available

!
?

Need anything else?

Contributors list

# 15,061
Ruby
HTML
jquery-...
jQuery
275 commits
# 102,367
Ruby
HTML
jquery-...
jQuery
8 commits
# 494
CSS
Less
edge
Firefox
6 commits
# 8,935
Shell
full-te...
HTML
lunr
2 commits
# 70,817
Ruby
elastic
rubynlp
formdat...
1 commit
# 206,695
osx
netbsd
ps
CSS
1 commit

Peity

Build Status

Peity (sounds like deity) is a jQuery plugin that converts an element's content into a mini

 pie, donut, line or bar chart.

Basic Usage

HTML

3/5
5,2,3
3,5,1,6,2
2,5,3,6,2,1

JavaScript (jQuery)

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

Docs

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

Development

Run the automated visual regression tests with:

make test

Run a filtered set of tests with:

ARGS="--grep bar" make test

To manually view all test cases run:

make server

And hit http://localhost:8080/.

Release

Update the version string in

jquery.peity.js
, run
make release
, and follow the instructions.

Copyright

Copyright 2009-2020 Ben Pickles. See LICENCE for details.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.