PHPackages                             benpickles/peity - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. benpickles/peity

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

benpickles/peity
================

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

v3.3.0(8y ago)4.2k2.8k397[21 issues](https://github.com/benpickles/peity/issues)[2 PRs](https://github.com/benpickles/peity/pulls)MITHTML

Since Oct 10Pushed 2y ago128 watchersCompare

[ Source](https://github.com/benpickles/peity)[ Packagist](https://packagist.org/packages/benpickles/peity)[ Docs](http://benpickles.github.io/peity/)[ RSS](/packages/benpickles-peity/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Peity
=====

[](#peity)

[![Tests](https://github.com/benpickles/peity/actions/workflows/tests.yml/badge.svg)](https://github.com/benpickles/peity/actions/workflows/tests.yml)

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
-----------

[](#basic-usage)

### HTML

[](#html)

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

### JavaScript (jQuery)

[](#javascript-jquery)

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

Docs
----

[](#docs)

More detailed usage can be found at [benpickles.github.io/peity](http://benpickles.github.io/peity/).

Development
-----------

[](#development)

Run the automated tests with:

```
npm test

```

To manually view all test cases run:

```
make server

```

And hit .

Release
-------

[](#release)

Update the version string in `jquery.peity.js`, run `make release`, and follow the instructions.

Copyright
---------

[](#copyright)

Copyright 2009-2020 [Ben Pickles](http://benpickles.com/). See [LICENCE](https://github.com/benpickles/peity/blob/master/LICENCE) for details.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community30

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~464 days

Total

2

Last Release

3039d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b97b9b687e54f56df0fd4e5a5fcd47435de146a2603d5756e7e5c4d439749397?d=identicon)[benpickles](/maintainers/benpickles)

---

Top Contributors

[![benpickles](https://avatars.githubusercontent.com/u/3637?v=4)](https://github.com/benpickles "benpickles (312 commits)")[![ismasan](https://avatars.githubusercontent.com/u/1081?v=4)](https://github.com/ismasan "ismasan (8 commits)")[![buunguyen](https://avatars.githubusercontent.com/u/406631?v=4)](https://github.com/buunguyen "buunguyen (7 commits)")[![olivernn](https://avatars.githubusercontent.com/u/35913?v=4)](https://github.com/olivernn "olivernn (2 commits)")[![chewett](https://avatars.githubusercontent.com/u/1496922?v=4)](https://github.com/chewett "chewett (1 commits)")[![mkdynamic](https://avatars.githubusercontent.com/u/4312?v=4)](https://github.com/mkdynamic "mkdynamic (1 commits)")

---

Tags

chartjqueryjquery-pluginsvgchartgraphjquery-pluginsparkline

### Embed Badge

![Health badge](/badges/benpickles-peity/health.svg)

```
[![Health](https://phpackages.com/badges/benpickles-peity/health.svg)](https://phpackages.com/packages/benpickles-peity)
```

###  Alternatives

[fullcalendar/fullcalendar

Full-sized drag &amp; drop event calendar

20.4k373.3k4](/packages/fullcalendar-fullcalendar)[novus/nvd3

A reusable charting library written in d3.js

7.2k207.7k2](/packages/novus-nvd3)[mottie/tablesorter

tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.

2.6k223.5k](/packages/mottie-tablesorter)[amenadiel/jpgraph

Composer Friendly, full refactor of JpGraph, library to make graphs and charts

1492.2M7](/packages/amenadiel-jpgraph)[noximo/php-colored-ascii-linechart

Pretty line graphs in your console, html or images

1994.1k](/packages/noximo-php-colored-ascii-linechart)[professional-wiki/network

MediaWiki extension for adding interactive network visualizations to your wiki pages

3211.9k](/packages/professional-wiki-network)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
