var svg = d3.select("#bar_intervalDistribution")
                      .append("svg")  //append svg element inside #bar_intervalDistribution
                      .attr("width", width+(2*margin.left)+margin.right)    //set width
                      .attr("height", height+margin.top+margin.bottom)  //set height
                      .append("g")