Skip to content

A clone of the animated decision tree at http://www.r2d3.us/ in React, React-Motion, and d3

Notifications You must be signed in to change notification settings

yamad/r2d3-decision-tree

Repository files navigation

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).

Build

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.

About

A clone of the animated decision tree at http://www.r2d3.us/ in React, React-Motion, and d3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published