<commit_before>'use strict'

var d3 = require('d3')
require('./d3-timeline')

function timeline (selection) {
  var width = 30
  var height
  var margin = { top: 0, right: 0, bottom: 0, left: 30 }

  //d3.csv('/data/timeline.csv', function (err, data) {
  d3.csv('https://docs.google.com/spreadsheets/d/1J3Sm3MURwI9ZErjcxdxNEkm9Cfactw0Na6KD65NcYcA/pub?output=csv', function (err, data) {
    console.log(data)
    height = data.length * 100

    var svg = selection.append('svg')
      .attr('width', width + margin.left + margin.right)
      .attr('height', height + margin.top + margin.bottom)
    .append('g')
      .attr('transform', 'translate(' + margin.left + ',' + margin.top + ')')<commit_msg>add CORS and drop logs<commit_after>'use strict'

var d3 = require('d3')
require('./d3-timeline')

function timeline (selection) {
  var width = 30
  var height
  var margin = { top: 0, right: 0, bottom: 0, left: 30 }

  d3.csv('http://cors.io/?u=https://docs.google.com/spreadsheets/d/1J3Sm3MURwI9ZErjcxdxNEkm9Cfactw0Na6KD65NcYcA/pub?output=csv', function (err, data) {
    height = data.length * 100

    var svg = selection.append('svg')
      .attr('width', width + margin.left + margin.right)
      .attr('height', height + margin.top + margin.bottom)
    .append('g')
      .attr('transform', 'translate(' + margin.left + ',' + margin.top + ')')
{'fraction_non_alphanumeric': 0.17442719881744273, 'fraction_numerical': 0.03473762010347376, 'mean_word_length': 3.636986301369863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '457216', 'n_tokens_mistral': 526, 'n_tokens_neox': 488, 'n_words': 103}