Multiple Methods for Visualizing Human Language: A Tutorial for Social and Behavioural Scientists

Veerle C. Eijsbroek, August Nilsson, Leon Ackermann, Zhuojun Gu, Clara Wiebel, Adithya V. Ganesan, Katarina Kjell, H. Andrew Schwartz, Oscar N.E. Kjell

April 2026 · Preprint · PsyArXiv

Abstract

Humans use language to communicate psychological experiences. Advancements in Natural Language Processing have enabled researchers to quantitatively study and assess psychological states and behaviors through language (e.g., well-being and mental health). Insights from language analyses are often best conveyed through visualizations. Data-driven visualizations of how language statistically relates to psychological dimensions can help interpret assessment scores, uncover meaningful patterns, and understand the intricate relationships between language use and mental states. Visualizations can be used to differentiate between related constructs (e.g., How does language related to depression versus anxiety differ?), understand the validity of assessment tools (e.g., Does the language related to high depression severity match with depression theory?), and explain language-based assessments (e.g., Which language is indicative of higher depression severity in a language-based assessment?). This tutorial demonstrates how to transform language data into visual insights using the text and topics packages in R. We provide practical guidance on creating four types of visualizations based on different language analysis techniques, examining how language use patterns are statistically associated with a psychological construct. We visualize 1) individual words and phrases (n-grams), 2) topics (word clusters), 3) words in the word embedding space, and 4) relevant language examples. These different visualizations offer complementary perspectives, visualizing linguistic elements from individual words to overarching topics and text examples. The underlying methods range from correlations between individual words to more advanced techniques, including topic modeling and Large Language Models. By making these methods accessible, this tutorial aims to empower researchers to use language visualizations for meaningful, data-driven insights.

Figure 1. Differential word clouds of words associated with lower (orange; left) and higher (blue; right) depression severity.

← All publications