<commit_before>#zoomed_chart
  %h2= raw t "output_elements.#{@chart.key}"

  #zoomed_chart_wrapper

  :javascript
    $(function(){
      App.charts.load(#{@chart.id}, null, {
        wrapper: '#zoomed_chart_wrapper',
        prunable: true,
        force: true,
        header: false,
        as_table: #{@as_table}
      });
    });<commit_msg>Have chart zoom use key instead of chart id (#3314)<commit_after>#zoomed_chart
  %h2= raw t "output_elements.#{@chart.key}"

  #zoomed_chart_wrapper

  :javascript
    $(function(){
      App.charts.load('#{@chart.key}', null, {
        wrapper: '#zoomed_chart_wrapper',
        prunable: true,
        force: true,
        header: false,
        as_table: #{@as_table}
      });
    });
{'fraction_non_alphanumeric': 0.15416098226466576, 'fraction_numerical': 0.008185538881309686, 'mean_word_length': 2.67, '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': '2875776', 'n_tokens_mistral': 256, 'n_tokens_neox': 248, 'n_words': 49}