window.onload = function() {
  var dataseries = {
    seriesName: "normal-data",
    data: makeNormallyDistributedData()
  };

  var svg = d3.select("#chart-with-labels");
  svg.attr("width", 480).attr("height", 320);

  var xScale = new LinearScale();
  var xAxis = new XAxis(xScale, "bottom");
  var xLabel = new AxisLabel("x"); // defaults to horizontal
  var xAxisTable = new Table([[xAxis],
                              [xLabel]]);

  var yScale = new LinearScale();
  var yAxis = new YAxis(yScale, "left");
  var yLabel = new AxisLabel("y", "horizontal-left");
  var yAxisTable = new Table([[yLabel, yAxis]]);

  var renderAreaD1 = new CircleRenderer(dataseries, xScale, yScale);
  var basicTable = new Table([[yAxisTable, renderAreaD1],
                              [null, xAxisTable]]);
  basicTable.anchor(svg).computeLayout().render();
};

@@ -22,16 +22,88 @@
 ion() %7B%0A
+  var xMean = 0;%0A  var xStdDev = 1;%0A  var yMean = 0;%0A  var yStdDev = 1;%0A
   var da
@@ -184,16 +184,51 @@
 tedData(
+100, xMean, xStdDev, yMean, yStdDev
 )%0A  %7D;%0A%0A
@@ -649,24 +649,22 @@
 l(%22y%22, %22
-horizont
+vertic
 al-left%22

Fix chartWithLabels demo