<commit_before>var map;
var chart;
var puma_layer;
var leaflet_features = {};
var chart_series = {};
var feature_color = '';
var puma_lookup = {};

$(window).resize(function () {
  var h = $(window).height();
  $('#chart').css('height', h);
}).resize();

$(function () {
    init_chart();
});

function init_chart(){

  $.when($.get('/data/cook_puma_trend_by_quarter.csv')).then(
    function(data){
      var puma_data = $.csv.toObjects(data);
      var series_data = [];

      $.each(puma_data, function(k, v){
        puma_lookup[v['PumaID']] = v;
        var data = [];
        for (var year = 2000; year <= 2019; year++) {
          for (var quarter = 1; quarter < 5; quarter++) {
            if (v[ year + 'Q' + quarter ] != undefined)
              data.push(parseFloat(v[ year + 'Q' + quarter ]));
          }
        } 

        chart_series[v['PumaID']] = k;
        series_data.push({name: v['PumaID'], data: data, lineWidth: 2});

      });
  
      // initialize chart
      chart = new Highcharts.Chart({
        chart: {
            renderTo: 'chart'
        },
        title: {
            text: "Cook County House Price Index: Jan 2000 - Jun 2019",
            x: -20 //center
        },
        credits: { enabled: false },
        xAxis: { type: 'datetime' },<commit_msg>trivial change to trigger build preview<commit_after>var map;
var chart;
var puma_layer;
var leaflet_features = {};
var chart_series = {};
var feature_color = '';
var puma_lookup = {};

$(window).resize(function () {
  var h = $(window).height();
  $('#chart').css('height', h);
}).resize();

$(function () {
    init_chart();
});

function init_chart(){

  $.when($.get('/data/cook_puma_trend_by_quarter.csv')).then(
    function(data){
      var puma_data = $.csv.toObjects(data);
      var series_data = [];

      $.each(puma_data, function(k, v){
        puma_lookup[v['PumaID']] = v;
        var data = [];
        for (var year = 2000; year <= 2019; year++) {
          for (var quarter = 1; quarter < 5; quarter++) {
            if (v[ year + 'Q' + quarter ] != undefined)
              data.push(parseFloat(v[ year + 'Q' + quarter ]));
          }
        }  

        chart_series[v['PumaID']] = k;
        series_data.push({name: v['PumaID'], data: data, lineWidth: 2});

      });
  
      // initialize chart
      chart = new Highcharts.Chart({
        chart: {
            renderTo: 'chart'
        },
        title: {
            text: "Cook County House Price Index: Jan 2000 - Jun 2019",
            x: -20 //center
        },
        credits: { enabled: false },
        xAxis: { type: 'datetime' },
{'fraction_non_alphanumeric': 0.17477960904561135, 'fraction_numerical': 0.01609812188577999, 'mean_word_length': 2.17904993909866, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1627891', 'n_tokens_mistral': 881, 'n_tokens_neox': 830, 'n_words': 203}