react-fishbone-chart

fishbone chart for react


License
ISC
Install
npm install react-fishbone-chart@0.1.3

Documentation

鱼骨图(fishbone chart for react)

install

npm i react-fishbone-chart

how to use

import React from 'react';
import {FishboneChart} from 'react-fishbone-chart'

const initData = {
  data: ['a','b','c','d','e','f','g','h','k'], 
  speed: 28,                                    
}

const App = () => {
  return (
    <div style={{width:"600px", height:"600px"}}>
      <FishboneChart option={initData}/>
    </div>
  );
};

export default App;

reference