Skip to content

bgrsquared/d3-react-squared-c3-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a C3 loader for d3-react-squared

Documentation (incomplete at the moment)

Notes

--> please check out the c3example.js in the source (./examples). In your own project, you import the module:

import DR2C3 from 'd3-react-squared-c3-loader';

and then supply a Loader prop to the DR2 component:

<DR2 c3obj={someC3Obj} Loader={DR2C3}/>

Documentation on the 'someC3Obj' will follow.

Stand-alone example

This repo now includes a stand-alone example. Simply:

npm install

and then

npm run dev

and it should be running on localhost:8080.

Requirements

You need to have c3, d3, react, react-dom in your project to have it running. (We did not include it in the dist, to keep things small and not have react conflicts).

Thanks

Huge thanks to all the people involved in providing awesome tools such as:

and many others...

Version Updates:

0.0.2:

  • Fix example.

0.0.1:

  • Init the project.

About

Load c3 charts in d3-react-squared.

Resources

License

Stars

Watchers

Forks

Packages

No packages published