Completed a simple d3 bar graph