Scripts for visualizing data using d3js