{
  "id": "word-frequency",
  "name": "Word frequency",
  "family": "text",
  "tier": "free",
  "summary": "Use word frequency bars to show the most used words in a text, sorted, once the common little words are removed.",
  "title": "In Frankenstein, “father” comes up four times as often as “monster”",
  "subtitle": "The 20 most used words in Mary Shelley's Frankenstein (1818 text), and the names Victor gives his creation, counts",
  "howToRead": "Each bar counts one word across the whole novel; the right-hand bars use the same scale for the creature's names.",
  "useWhen": [
    "a first look at what a text is about",
    "comparing a handful of chosen words on one scale",
    "up to about 30 words"
  ],
  "avoidWhen": [
    "comparing texts of different lengths (use rates per 10,000 words)",
    "meaning depends on context (use a word tree or keyword in context)",
    "word clouds are tempting: sorted bars are easier to read"
  ],
  "fields": [
    {
      "name": "totalWords",
      "type": "number",
      "sign": "non-negative",
      "description": "words in the text",
      "unit": "words",
      "format": "count"
    },
    {
      "name": "rows[].word",
      "type": "text",
      "description": "a word, lower case"
    },
    {
      "name": "rows[].count",
      "type": "number",
      "sign": "non-negative",
      "description": "times it appears",
      "unit": "times",
      "format": "count"
    },
    {
      "name": "names[].word",
      "type": "text",
      "description": "optional: a second list of chosen words, drawn on the same scale (its heading is the hint namesHead)",
      "optional": true
    },
    {
      "name": "names[].count",
      "type": "number",
      "sign": "non-negative",
      "description": "times it appears",
      "unit": "times",
      "format": "count",
      "optional": true
    }
  ],
  "hints": {
    "namesHead": "What Victor calls his creation",
    "namesNote": "a name for the creature",
    "pair": "father; monster",
    "leftOut": "very common ones like “the” and “upon” left out"
  },
  "interactions": [
    "hover or tap a bar for its count and rate per 10,000 words"
  ],
  "motion": "Bars grow from zero in rank order, then the creature's names follow.",
  "sound": "A soft pop on hover; Play speaks each word. Quiet while it draws and between steps; mute it from its card.",
  "annotations": [
    {
      "type": "underline",
      "words": "four times",
      "in": "title"
    }
  ],
  "tags": [
    "text",
    "words",
    "frequency",
    "books",
    "literature",
    "Frankenstein",
    "sorted bars"
  ],
  "mobile": "adapts",
  "mobileNote": "Draws its own phone layout below 520px",
  "mobileChecked": "2026-12-02",
  "ratios": [
    "16:9",
    "9:16"
  ],
  "bestRatio": "9:16",
  "source": {
    "title": "Frankenstein; or, the Modern Prometheus by Mary Wollstonecraft Shelley (eBook #84)",
    "publisher": "Project Gutenberg",
    "url": "https://www.gutenberg.org/ebooks/84",
    "license": "Public domain in the USA (Project Gutenberg License)",
    "retrieved": "2026-12-01"
  },
  "note": "Counted from the plain-text edition, letters and chapters only; possessive 's is folded into the word. About 150 common function words (the, upon, can, thou…) are left out."
}