Peity (sounds like deity) is a jQuery plugin that converts an element's content into a angle svg mini pie donut line or bar chart and is compatible with any browser that supports angle svg: Chrome, Firefox, IE9+, Opera, Safari.
Passing a radius will set the correct width and height, the pie will always be a circle that fits the available space.
Read MoreGraph | Code |
---|---|
1/6 |
<span class="pie">1/6</span>
|
230/360 |
<span class="pie">230/360</span>
|
0.42/1.461 |
<span class="pie">0.42/1.461</span>
|
2,7 |
<span class="pie">2,7</span>
|
236,133 |
<span class="pie">236,133</span>
|
0.42,1.051 |
<span class="pie">0.42,1.051</span>
|