spotify/reactochart

Name: reactochart

Owner: Spotify

Description: :chart_with_upwards_trend: React chart component library (unstable) - http://spotify.github.io/reactochart/docs/

Created: 2016-01-07 20:58:18.0

Updated: 2018-05-22 19:23:31.0

Pushed: 2018-05-22 19:23:31.0

Homepage:

Size: 40232

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

WARNING: THIS IS NOT YET PRODUCTION-QUALITY CODE. Docs and Tests are still being written. Use at your own risk. If your project requires composable React charts, we recommend using Victory.

reactochart

Charting library for React

Styles

In order to use reactochart, import the base styles

rt 'reactochart/styles.css'

API

Non-XY charts
XYPlot & XY charts
XY Axis Components
XY datum components (used by charts/axes)
Higher-order components
Utilities

Examples

If you just want to run the examples locally:

  1. Clone this repo and cd to the newly-created directory
  2. Run npm run serve in your terminal (note: if you're running Python in v3 or higher you'll need to run python -m http.server)
  3. Go to http://localhost:8000

Development

If you'd like to contribute to the development this project, first fork & clone this repo, and then follow these steps:

Global dependencies
Project dependencies
Development process
Notes

TO DO:

additional chart types

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.