commented code while reading/learning about d3 and javascript