A stacked bar chart

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.24/browser.js"></script>
<script src="https://npmcdn.com/react@15.6.2/dist/react-with-addons.min.js"></script>
<script src="https://npmcdn.com/react-dom@15.6.2/dist/react-dom.min.js"></script>
<script src="https://npmcdn.com/prop-types/prop-types.min.js"></script>
<script src="https://npmcdn.com/recharts/umd/Recharts.min.js"></script>
<div id="container">
    <!-- This element's contents will be replaced with your component. -->
</div>

Babel + JSX

const {BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend} = Recharts;
const data = [
      {name: '1', a: 50, b: 20, c: 10},
];
const StackedBarChart = React.createClass({
	render () {
  	return (
    	<BarChart layout="vertical" width={600} height={50} data={data}
            margin={{top: 20, right: 30, left: 20, bottom: 5}}>
       <XAxis hide  type="number"/>
       <YAxis hide dataKey="name" type="category"/>
       <Tooltip />
       <Bar dataKey="a" stackId="a" fill="#8884d8" radius={20}/>
       <Bar dataKey="b" stackId="a" fill="#82ca9d" radius={20}/>
       <Bar dataKey="c" stackId="a" fill="#82ca9d" radius={20}/>
      </BarChart>
    );
  }
})

ReactDOM.render(
  <StackedBarChart />,
  document.getElementById('container')
);