<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
    <script src="bower_components/threejs/build/three.js"></script>
    <script src="bower_components/stats.js/build/stats.min.js"></script>
    <script src="bower_components/d3/d3.js"></script>
    <script src="../dist/subunit.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style.css">
  </head>
  <body>
    <h3 style="position:absolute;left:9px;top:9px;z-index:1">
      Basic Bar Chart - WebGL Demo
    </h3>
    <script src="https://google.github.io/traceur-compiler/bin/traceur.js"></script>
    <script src="https://google.github.io/traceur-compiler/src/bootstrap.js"></script>
    <script type="module">

      import { camera, scene, canvas, renderer, stats } from 'modules/scene';

      d3.json('data/letters.json', function (err, data) {

        canvas.style("opacity", 1);

        var size = [2000, 600] // Width, Height

        var x = d3.scale.ordinal()
          .rangeRoundBands([0, size[0]], 0.1, 1);

        var y = d3.scale.linear()
          .range([size[1], 0]);

        var material1 = new THREE.MeshPhongMaterial({color: '#4183c4'});
        var material2 = new THREE.MeshPhongMaterial({color: '#666666'});

        x.domain(data.map(function (d) { return d.letter; }));
        y.domain([0, d3.max(data, function (d) { return d.frequency; })]);

        var root = subunit.select(scene)
        root.node().position.set(-size[0] / 2, 0, 0);

        var bars = root.selectAll(".bar")
          .data(data).enter()
          .append("mesh")
          .attr("class", "bar")
          .attr("material", material1)
          .attr("geometry", function (d) {
            var w = x.rangeBand();<commit_msg>remove material<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
    <script src="bower_components/threejs/build/three.js"></script>
    <script src="bower_components/stats.js/build/stats.min.js"></script>
    <script src="bower_components/d3/d3.js"></script>
    <script src="../dist/subunit.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style.css">
  </head>
  <body>
    <h3 style="position:absolute;left:9px;top:9px;z-index:1">
      Basic Bar Chart - WebGL Demo
    </h3>
    <script src="https://google.github.io/traceur-compiler/bin/traceur.js"></script>
    <script src="https://google.github.io/traceur-compiler/src/bootstrap.js"></script>
    <script type="module">

      import { camera, scene, canvas, renderer, stats } from 'modules/scene';

      d3.json('data/letters.json', function (err, data) {

        canvas.style("opacity", 1);

        var size = [2000, 600] // Width, Height

        var x = d3.scale.ordinal()
          .rangeRoundBands([0, size[0]], 0.1, 1);

        var y = d3.scale.linear()
          .range([size[1], 0]);

        var material = new THREE.MeshPhongMaterial({color: '#4183c4'});

        x.domain(data.map(function (d) { return d.letter; }));
        y.domain([0, d3.max(data, function (d) { return d.frequency; })]);

        var root = subunit.select(scene)
        root.node().position.set(-size[0] / 2, 0, 0);

        var bars = root.selectAll(".bar")
          .data(data).enter()
          .append("mesh")
          .attr("class", "bar")
          .attr("material", material)
          .attr("geometry", function (d) {
            var w = x.rangeBand();
{'fraction_non_alphanumeric': 0.1881856540084388, 'fraction_numerical': 0.024472573839662448, 'mean_word_length': 2.8113612004287245, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 4, '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': '2329543', 'n_tokens_mistral': 1244, 'n_tokens_neox': 1176, 'n_words': 221}