ntainer", true)
.append("svg")
// Responsive SVG needs these 2 attributes and no width and height attr.
.attr("preserveAspectRatio", "xMinYMin meet")
.attr("viewBox", "0 0 600 400")
// Class to make it responsive.
.classed("svg-content", true)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");

// get the data
var data = {{ .DataSet }};

  // add the x Axis
  var x = d3.scaleLinear()
            .domain([{{ .Min }}, {{ .Max }}])
            .range([0, width]);
  svg.append