Overview

Peity is a simple jQuery plugin that converts an element's content into a simple <svg> mini pie, donut, line or bar chart and is compatible with any browser that supports <svg>.

Examples:

5,3,9,6,5,9,7,3,5,8
4,3,5,2,5,3,8,3,4,9
3,2,4
2,1,4

HTML Code:

<div class="peity-line">5,3,9,6,5,9,7,3,5,8</div>
<div class="peity-bar">4,3,5,2,5,3,8,3,4,9</div>
<div class="peity-donut">3,2,4</div>
<div class="peity-pie">2,1,4</div>