<commit_before>var d3 = require('d3');

var _ = require('underscore');
require('jqcloud2');
require('jqcloud2/dist/jqcloud.css');

const COLOR_MAP = {
  video: '#283593',
  audio: '#f06292',
  document: '#ff3d00',
  exercise: '#4db6ac',
  html5: '#ff8f00',
};

const COLOR_SELECTION = [
  '#FF3D00',
  '#bebada',
  '#283593',
  '#FF8F00',
  '#F06292',
  '#4DB6AC',
  '#fccde5',
  '#bc80bd',
  '#ccebc5',
];

var ttCounter = 0;
<commit_msg>Fixed d3 helper<commit_after>var d3 = require('d3');

var _ = require('underscore');
require('jqcloud2');
require('jqcloud2/dist/jqcloud.css');

const COLOR_MAP = {
  video: '#283593',
  audio: '#f06292',
  document: '#ff3d00',
  exercise: '#4db6ac',
  html5: '#ff8f00',
};

const COLOR_SELECTION = [
  COLOR_MAP.document,
  COLOR_MAP.video,
  COLOR_MAP.html5,
  COLOR_MAP.audio,
  COLOR_MAP.exercise,
  '#bebada',
  '#fccde5',
  '#bc80bd',
  '#ccebc5',
];

var ttCounter = 0;

{'fraction_non_alphanumeric': 0.2052401746724891, 'fraction_numerical': 0.08624454148471616, 'mean_word_length': 4.591463414634147, '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': '3404749', 'n_tokens_mistral': 445, 'n_tokens_neox': 415, 'n_words': 68}