Almost done. Need to make the tooltip part.
Update: I finally finished the project.
Hats of to Dr. Curran Kelleher for the full tutorial. Helped me a lot in understanding how to handle D3.