<commit_before>Settings = {
  chart: {
    padding: { right: 40, bottom: 100 },
    margins: { top: 30, bottom: 0, right: 35 },
    dots: {
      size: 5,
      color: '#378E00',
      opacity: 0.7
    }
  },
  defaultData: {
    title: 'Scatter Plot',
    byYear: false,
    chosenYear: '',
    x: {
      indicator: 'ipr', // Percentage of individuals using the Internet
      log: false,
      jitter: 0.0
    },
    y: {
      indicator: 'downloadkbps', // Average download speed (kbps)
      log: false,
      jitter: 0.0
    }
  }
};

IMonScatterWidget = function(doc) {
  Widget.call(this, doc);
  _.defaults(this.data, Settings.defaultData);
};

IMonScatterWidget.prototype = Object.create(Widget.prototype);
IMonScatterWidget.prototype.constructor = IMonScatterWidget;

IMonScatter = {
  widget: {
    name: 'Scatterplot',
    description: 'Shows a scatterplot of two chosen metrics from the Internet Monitor dataset across all countries',
    url: 'https://thenetmonitor.org/sources',<commit_msg>Change Scatter Plot to Scatterplot in default title<commit_after>Settings = {
  chart: {
    padding: { right: 40, bottom: 100 },
    margins: { top: 30, bottom: 0, right: 35 },
    dots: {
      size: 5,
      color: '#378E00',
      opacity: 0.7
    }
  },
  defaultData: {
    title: 'Scatterplot',
    byYear: false,
    chosenYear: '',
    x: {
      indicator: 'ipr', // Percentage of individuals using the Internet
      log: false,
      jitter: 0.0
    },
    y: {
      indicator: 'downloadkbps', // Average download speed (kbps)
      log: false,
      jitter: 0.0
    }
  }
};

IMonScatterWidget = function(doc) {
  Widget.call(this, doc);
  _.defaults(this.data, Settings.defaultData);
};

IMonScatterWidget.prototype = Object.create(Widget.prototype);
IMonScatterWidget.prototype.constructor = IMonScatterWidget;

IMonScatter = {
  widget: {
    name: 'Scatterplot',
    description: 'Shows a scatterplot of two chosen metrics from the Internet Monitor dataset across all countries',
    url: 'https://thenetmonitor.org/sources',
{'fraction_non_alphanumeric': 0.127867252318204, 'fraction_numerical': 0.021473889702293802, 'mean_word_length': 2.9196940726577436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6026875', 'n_tokens_mistral': 697, 'n_tokens_neox': 664, 'n_words': 173}