Daniel d3 elements

Break out d3 js code into own files. Currently, one for pie chart, and another for bar chart.