This jQuery plugin generates sparklines (small inline charts) directly in the browser using data supplied either inline in the HTML, or via javascript. The plugin is compatible with most modern browsers and has been tested with Firefox 2+, Safari 3+, Opera 9, Google Chrome and Internet Explorer 6, 7, 8, 9 & 10 as well as iOS and Android.
Examples
| Type | Layout |
|---|---|
| Inline | 3,4,2,3,5,8,1 |
| Line Graphs | 10,8,9,3,5,8,5 |
| Bar | |
| Negative Values | |
| Stacked | |
| Composite Inline | 8,4,0,3,0,3,1,4,4,10,4,10,0,1,4,6,5,9,10 |
| Inline Range | 8,4,0,2,8,3,1,9,4,10,5,10,8,0,3,2,4 |
| Composite Bar |
Examples
| Type | Layout |
|---|---|
| Discrete with Threshold | 4,6,7,7,4,3,2,1,4,6,7,7,4,3,2,1,4,2,1,4,6,7,7,4,3,4,6,7,7,4,3,2,1,4,2,1,4,6,7,7,4,3 |
| Tristate Charts | 1,1,0,1,-1,-1,1,-2,2,0,1,1 |
| Tristate Chart using a Colour Map | 1,1,0,1,-1,-1,1,-1,0,0,1,1 |
| Box Plot | 4,27,34,52,54,59,61,68,78,82,85,87,91,93,100 |
| Pie Chart | |
| Bullet Chart | 10,12,12,9,7 |
| Discrete | 4,6,7,7,4,3,2,1,4,4,5,6,7,6,6,2,4,5,4,6,7,7,4,3,2,1,4,4,5,6,7,6,6,2,4,5 |