Experimenting with javascript and d3.