Clone of R2D3 decision tree
See Demo (press spacebar to start/stop, enter to reset)
There is a beautiful animation of data flowing through a decision tree at R2D3: A Visual Guide to Machine Learning. This is a clone to learn about how that animation was made.
Made with: React, D3, and React-Motion (as an exercise).
This project uses npm
scripts as a build tool. See the scripts
section of package.json
for a full list of available build tasks.
To make a production build, issue these commands from the source directory,
npm install
npm run build
Start a development server with
npm run open-src
This opens a page that hot-loads any source file changes so they are immediately visible. Note that performance of the development builds is worse than the production build.
The build was bootstrapped with react-slingshot.