red3

0.1.10 • Public • Published

ReD3

ReD3 is a React library to allow developers to easily add D3 graphs to their projects.

ReD3 acts a high level wrapper, abstracting away the D3 syntax and exposing only the high level props to let the user "plug and play."

Installation and Usage

Using npm:

$ npm install --save red3

Import the graph from the library:

import { Pie } from 'red3'

Add the graph to your component:

render() {
  return (
    <div>
      <Pie data={data} />
    </div>
  )
}

Done!

Documentation

Refer to the official documentation page

Thanks

Thanks to Mike Bostock for creating D3 and providing a vast number of resources.

Package Sidebar

Install

npm i red3

Weekly Downloads

1

Version

0.1.10

License

ISC

Last publish

Collaborators

  • emersonhum
  • rob0h
  • vytrinh