In this exercise, you'll experiment a bit with D3
to add elements to the DOM and manipulate their attributes and styles. 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.