HackJam for learning D3 v3 through koans.
Make sure you have Node version >= 6.0 and NPM >= 3
To start, clone this repo to a new directory:
cd new directory
and run the command to install all your dependencies:
npm install # or yarn
npm start # or yarn start
npm run start:watch # or yarn start:watch
npm start -- ./src/fileName.spec.js # or yarn start -- ./src/fileName.spec.js
npm run start:watch -- ./src/fileName.spec.js # or yarn start:watch -- ./src/fileName.spec.js
npm run demo # yarn demo
You will see failing tests that you should fix :)
Need help? Ask the Hackages Mentors.
Follow the order, the comment and implement all functions in files below:
├── 01-getting-started.js
├── 02-selection.js
├── 03-element-crud.js
├── 04-handling-events.js
├── 05-join-and-update-pattern-numbers-display.js
├── 06-join-and-update-pattern-simple-bar-chart.js
├── 07-scale.js
Every file has an associated test file finishing by *.spec.js. You should not edit it!
├── 01-getting-started.spec.js
├── 02-selection.spec.js
├── 03-element-crud.spec.js
├── 04-handling-events.spec.js
├── 05-join-and-update-pattern-numbers-display.spec.js
├── 07-scale.spec.js
Note: for 05-join-and-update-pattern-numbers-display and 06-join-and-update-pattern-simple-bar-chart, you should run
npm run demo
to see the rendering
Feel free to send us PRs
Happy coding!