the sample project to create svg with React.
Import Heatmap component and give anguments like below.
<Heatmap
margin={{top: 10, left: 10}}
size={{width: 100, height: 200}}
data={[[10,10,10,5,10],[12,12,13,4,12]]}
max={50}
/>
yarn start
and open 'http://localhost:3000'
yarn test