displayed both line and bar graph with d3js, fixed the wrong placing buttons