Popularity
1.4
Growing
Activity
0.0
Stable
142
5
9

Programming language: CoffeeScript
Tags: UI Components     Chart    
Latest version: v2.0.0

react-sparkline alternatives and similar libraries

Based on the "Chart" category

Do you think we are missing an alternative of react-sparkline or a related project?

Add another 'Chart' Library

README

react-sparkline

React component for rendering simple sparklines. Companion to react-micro-bar-chart.

Install

npm install react-sparkline

Usage

var Sparkline = require('react-sparkline');

// Pass in an array of values.
<Sparkline data={anArrayOfValues} />

// Sparkline of dates + values
// Pass in an array of objects something like
values = [
  {
    date: "2014-06-23T00:21:59.271Z"
    value: 2
  },
  {
    date: "2014-06-24T00:21:59.271Z"
    value: 4
  }
]
<Sparkline data={values} />

Demo

http://kyleamathews.github.io/react-sparkline/