<commit_before>EstablishmentShot.Charts = (function () {
    'use strict';

    var count = 0,
        colors = [
            '#26b01f', // green
            '#ffcf28', // yellow
            '#009cff', // blue
            '#ff2600' // red
        ],
        smallColors = [
            [
                '#DDDDDE',
                '#9E6C00',
                '#EBA000',
                '#9E1D00',
                '#EB2B00'
            ],
            [
                '#DDDDDE',
                '#CCE4FF',
                '#80D4FF',
                '#3C9AC9',
                '#B01200',
                '#E6C337',
                '#ffcf28'
            ],
            [
                '#DDDDDE',
                '#38DC2D',
                '#26b01f'
            ],
            [
                '#DDDDDE',
                '#6E3E00',
                '#B05E00',
                '#FCB100',
                '#006FB0',
                '#00A0FC'
            ]
        ],
        smallChartDefaults = function () {
            return {
                type: EstablishmentShot.BarChart,
                width: 150,
                height: 198,
                color_gradient: smallColors[count++],
                showY: true,
                showMaxLabel: false,
                margin: {
                    top: 10,
                    right: 0,
                    bottom: 20,
                    left: 50
                },
                mouseover: function (d) {
                    $(this).find(".legend ul li")
                        .stop().animate({ 'opacity': 0.2 }, 500);

                    $(this).find(".legend ul li." + d.key)
                        .stop().animate({'opacity': 1.0 }, 500);
                },
                mouseout: function (d) {
                    $(this).find(".legend ul li")
                        .stop().animate({'opacity': 1.0 }, 500);
                }
            }
        };

    return {
        charts: {
            bar_chart: {
                width: 250,
                height: 380,
                margin: {
                    top: 20,
                    right: 0,
                    bottom: 25,
                    left: 10
                },
                showY: false,
                showMaxLabel: true,
                color_gradient: colors,
                type: EstablishmentShot.BarChart,
                series: [
                    { key: 'co2_sheet_agriculture_total_co2_emissions',
                      fa_icon: '\uf06c' },
                    { key: 'co2_sheet_industry_energy_total_co2_emissions',
                      fa_icon: '\uf275' },
                    { key: 'co2_sheet_transport_total_co2_emissions',
                      fa_icon: '\uf1b9' },
                    { key: 'co2_sheet_buildings_households_total_co2_emissions',
                      fa_icon: '\uf015' }
                ],
                mouseover: function (d) {<commit_msg>Increase top margin of establishment shot chart<commit_after>EstablishmentShot.Charts = (function () {
    'use strict';

    var count = 0,
        colors = [
            '#26b01f', // green
            '#ffcf28', // yellow
            '#009cff', // blue
            '#ff2600' // red
        ],
        smallColors = [
            [
                '#DDDDDE',
                '#9E6C00',
                '#EBA000',
                '#9E1D00',
                '#EB2B00'
            ],
            [
                '#DDDDDE',
                '#CCE4FF',
                '#80D4FF',
                '#3C9AC9',
                '#B01200',
                '#E6C337',
                '#ffcf28'
            ],
            [
                '#DDDDDE',
                '#38DC2D',
                '#26b01f'
            ],
            [
                '#DDDDDE',
                '#6E3E00',
                '#B05E00',
                '#FCB100',
                '#006FB0',
                '#00A0FC'
            ]
        ],
        smallChartDefaults = function () {
            return {
                type: EstablishmentShot.BarChart,
                width: 150,
                height: 198,
                color_gradient: smallColors[count++],
                showY: true,
                showMaxLabel: false,
                margin: {
                    top: 10,
                    right: 0,
                    bottom: 20,
                    left: 50
                },
                mouseover: function (d) {
                    $(this).find(".legend ul li")
                        .stop().animate({ 'opacity': 0.2 }, 500);

                    $(this).find(".legend ul li." + d.key)
                        .stop().animate({'opacity': 1.0 }, 500);
                },
                mouseout: function (d) {
                    $(this).find(".legend ul li")
                        .stop().animate({'opacity': 1.0 }, 500);
                }
            }
        };

    return {
        charts: {
            bar_chart: {
                width: 250,
                height: 380,
                margin: {
                    top: 25,
                    right: 0,
                    bottom: 25,
                    left: 10
                },
                showY: false,
                showMaxLabel: true,
                color_gradient: colors,
                type: EstablishmentShot.BarChart,
                series: [
                    { key: 'co2_sheet_agriculture_total_co2_emissions',
                      fa_icon: '\uf06c' },
                    { key: 'co2_sheet_industry_energy_total_co2_emissions',
                      fa_icon: '\uf275' },
                    { key: 'co2_sheet_transport_total_co2_emissions',
                      fa_icon: '\uf1b9' },
                    { key: 'co2_sheet_buildings_households_total_co2_emissions',
                      fa_icon: '\uf015' }
                ],
                mouseover: function (d) {
{'fraction_non_alphanumeric': 0.11394557823129252, 'fraction_numerical': 0.04421768707482993, 'mean_word_length': 0.7979211250382147, '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': '3102113', 'n_tokens_mistral': 1797, 'n_tokens_neox': 1541, 'n_words': 270}