All Projects → benpickles → Peity

benpickles / Peity

Licence: mit
Progressive <svg> pie, donut, bar and line charts

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
Makefile
30231 projects
CSS
56736 projects

Projects that are alternatives of or similar to Peity

Tui.editor
🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
Stars: ✭ 14,016 (+232.61%)
Mutual labels:  chart, jquery-plugin, jquery
Texttailor.js
jQuery plugin, tailor made text to fill the height of the parent element or ellipse it if it doesn't fit
Stars: ✭ 291 (-93.09%)
Mutual labels:  jquery-plugin, jquery
Bootstrap Submenu
Bootstrap sub-menus
Stars: ✭ 442 (-89.51%)
Mutual labels:  jquery-plugin, jquery
Jquery Loading
Easily add and manipulate loading states of any element on the page.
Stars: ✭ 321 (-92.38%)
Mutual labels:  jquery-plugin, jquery
Sidr
Sidr is a jQuery plugin for creating side menus and the easiest way for doing your menu responsive.
Stars: ✭ 2,924 (-30.61%)
Mutual labels:  jquery-plugin, jquery
Sticky Kit
A jQuery plugin for creating smart sticky elements
Stars: ✭ 2,961 (-29.73%)
Mutual labels:  jquery-plugin, jquery
Tweetie
Simple jQuery Twitter feed plugin
Stars: ✭ 314 (-92.55%)
Mutual labels:  jquery-plugin, jquery
Email Autocomplete
A jQuery plugin that suggests and autocompletes the domain in email fields.
Stars: ✭ 265 (-93.71%)
Mutual labels:  jquery-plugin, jquery
Datetimepicker
jQuery Plugin Date and Time Picker
Stars: ✭ 3,402 (-19.27%)
Mutual labels:  jquery-plugin, jquery
Protip
A new generation jQuery Tooltip plugin
Stars: ✭ 357 (-91.53%)
Mutual labels:  jquery-plugin, jquery
Gijgo
Gijgo - Free Javascript Controls
Stars: ✭ 424 (-89.94%)
Mutual labels:  jquery-plugin, jquery
Preloadme
PreLoadMe, a lightweight jQuery website preloader.
Stars: ✭ 272 (-93.55%)
Mutual labels:  jquery-plugin, jquery
Js Offcanvas
A lightweight, flexible jQuery off-canvas navigation plugin which lets you create fully accessible sidebar or top/bottom sliding (or push) panels with keyboard interactions and ARIA attributes.
Stars: ✭ 272 (-93.55%)
Mutual labels:  jquery-plugin, jquery
Stickystack.js
A jQuery plugin that creates a stacking effect by sticking panels as they reach the top of the viewport.
Stars: ✭ 287 (-93.19%)
Mutual labels:  jquery-plugin, jquery
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-93.57%)
Mutual labels:  jquery-plugin, jquery
Waitme
jquery plugin for easy creating loading css3/images animations
Stars: ✭ 302 (-92.83%)
Mutual labels:  jquery-plugin, jquery
Hc Sticky
JavaScript library that makes any element on your page visible while you scroll.
Stars: ✭ 375 (-91.1%)
Mutual labels:  jquery-plugin, jquery
jquery-linechart
JQuery plugin for creating charts
Stars: ✭ 42 (-99%)
Mutual labels:  chart, jquery-plugin
Jquery Tablesort
A tiny & dead-simple jQuery plugin for sortable tables.
Stars: ✭ 254 (-93.97%)
Mutual labels:  jquery-plugin, jquery
Jquery Fullscreen Plugin
This jQuery plugin provides a simple to use mechanism to control the new fullscreen mode of modern browsers
Stars: ✭ 327 (-92.24%)
Mutual labels:  jquery-plugin, jquery

Peity

Build Status

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

Basic Usage

HTML

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

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].