Description
Peity (sounds like deity) is a simple jQuery plugin that converts an element's content into a simple mini pie, donut, line or bar chart.
peity alternatives and similar libraries
Based on the "d3" category.
Alternatively, view peity alternatives based on common mentions on social networks and blogs.
-
echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser -
BabylonJS
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework. -
p5.js
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs — -
paper.js
The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey -
mxGraph
DISCONTINUED. Diagramming library that enables interactive graph and charting applications to be quickly created that run natively in any major browser that is supported by its vendor. -
processing.js
DISCONTINUED. Processing.js makes your data visualizations work using web standards and without any plug-ins -
jquery.sparkline
A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of peity or a related project?
README
Peity
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.