<commit_before>% if importjs:
  <script type="text/javascript" src="https://www.google.com/jsapi"></script>
% endif
<script type="text/javascript">
    google.load("visualization", "1", {packages:["corechart"]});
    google.setOnLoadCallback(drawVisualization);

    % if jsondatasource=='given':
        function drawVisualization() {
        ${options}
        var visualization = new google.visualization.LineChart(document.getElementById('chart'));
        var data = new google.visualization.DataTable(${jsondata});
        visualization.draw(data, options);

        }
    % elif jsondatasource=='url':
        function drawVisualization() {
          visualization = new google.visualization.LineChart(document.getElementById('chart'));
          new google.visualization.Query('${jsondata}').send(queryCallback);
        }
        function queryCallback(response) {
          visualization.draw(response.getDataTable(), {is3D: true});
        }
    % endif

</script>
<div id="chart"></div><commit_msg>Atendendo a fonte de dados através de url e dicionario<commit_after>% if importjs:
  <script type="text/javascript" src="https://www.google.com/jsapi"></script>
% endif
<script type="text/javascript">
    google.load("visualization", "1", {packages:["corechart"]});
    google.setOnLoadCallback(drawVisualization);

    % if jsondatasource=='given':
        function drawVisualization() {
        ${options}
        var visualization = new google.visualization.LineChart(document.getElementById('chart'));
        var data = new google.visualization.DataTable(${jsondata});
        visualization.draw(data, options);

        }
    % elif jsondatasource=='url':
        function drawVisualization() {
          visualization = new google.visualization.LineChart(document.getElementById('chart'));
          new google.visualization.Query('${jsondata}').send(queryCallback);
        }
        function queryCallback(response) {
          visualization.draw(response.getDataTable(), options);
        }
    % endif

</script>
<div id="chart"></div>
{'fraction_non_alphanumeric': 0.14445525291828792, 'fraction_numerical': 0.0014591439688715954, 'mean_word_length': 3.6017897091722597, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1831106', 'n_tokens_mistral': 580, 'n_tokens_neox': 557, 'n_words': 99}