React component that uses HTML5 canvas to render a heat map chart
This project contains an implementation of heatmap
chart, modelled after HTML5 canvas based heatmaps, which was missing a react implementation.
The Heatmap
component in this project uses the same core algorithm to paint heatmap on HTML5 canvas with slight modifications to work with React lifecycle methods.
Following screenshot shows the default heatmap view with sample data. data.js
conatins the sample data in [x, y, occurances]
format.
Limitations:
Refer to component/app.js
on basic usage.
TBD
src/config_dev.js
with your canvas dimensions.node_modules
dependencies using yarn
yarn install
yarn start
Launch Webpack Development Server (WDS)
in VSCode Debug
view.yarn build
build.js
, style/*
, image/*
, index.html
to S3 static websiteISC