In this exercise, you'll experiment a bit with D3
to see how to add and remove elements using data binding. Start by forking and cloning this repository, running a local server, and opening up the index.html
file. Then, edit the js/main.js
to complete the outlined steps. You'll build this simple shape:
You may find the following resources helpful:
See the complete
branch for answers.