Vega Word Cloud

A spiral-packed word cloud where each word's font size encodes frequency. This uses Vega's built-in `wordcloud` transform — a port of Jason Davies's d3-cloud algorithm with collision-detection in pixel space, no extra plugin needed. The size, font, padding, rotation set, and spir

Template details

  • chart
  • wordcloud
  • text
  • vega

When to use this template

A word cloud makes the most frequent terms in a text corpus immediately apparent, allowing for quick identification of dominant themes and keywords. Analysts reach for this visualization when they need to rapidly summarize textual data, understand the relative importance of different concepts, or identify common topics without deep linguistic analysis.

  • Datasets with a single text string field and a corresponding frequency count.
  • Unstructured text data pre-processed into individual words or short phrases.
  • High cardinality categorical data where relative frequency is the primary insight.
  • Discrete, non-negative integer counts representing term occurrences.
  • Data where the primary goal is to highlight most prevalent terms.

Browse all Koan templates