<commit_before>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");<commit_msg>Fix chartWithLabels demo<commit_after>window.onload = function() {
  var xMean = 0;
  var xStdDev = 1;
  var yMean = 0;
  var yStdDev = 1;
  var dataseries = {
    seriesName: "normal-data",
    data: makeNormallyDistributedData(100, xMean, xStdDev, yMean, yStdDev)
  };

  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", "vertical-left");
{'fraction_non_alphanumeric': 0.15337423312883436, 'fraction_numerical': 0.016104294478527608, 'mean_word_length': 3.335548172757475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1860692', 'n_tokens_mistral': 469, 'n_tokens_neox': 432, 'n_words': 115}