React Cake Chart

An interactive multi-layer pie chart to help you beautifully visualize your data.

Dependencies

React

import CakeChart from 'cake-chart';

const TREE = {  
  value: 100,
  label: 'SUM = 100',
  children: [{
    value: 50,
    children: [{
      value: 10
    },
    {
      value: 20
    }]
  }, {
    value: 30
  }, {
    value: 20
  }]
};

...

render () {  
  return (
    <CakeChart data={TREE} />
  );
}