# JasonKessler/scattertext

Beautiful visualizations of how language differs among document types.

Repository: https://github.com/JasonKessler/scattertext
Canonical: https://ross.abutalabs.com/products/scattertext
Language: Python
License: Apache-2.0
License Family: permissive
Topics: nlp, d3, word-embeddings, machine-learning, natural-language-processing, visualization, word2vec, text-visualization, text-mining, japanese-language, computational-social-science, sentiment, eda, exploratory-data-analysis, text-as-data, scatter-plot, topic-modeling, stylometry, stylometric, semiotic-squares
Last push: 2026-07-04T21:25:24+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 3696, "days_push": 60, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2341, forks 286 (observed 2026-08-28T04:06:38.895563+00:00)

## What it is
A Python library for finding and visualizing distinguishing terms across document categories as interactive HTML scatter plots. It integrates with NLP pipelines to compare corpora and render browser-based term visualizations with selective labeling.

## Use cases
- visualize how language differs between two document categories
- find distinguishing terms in a text corpus
- compare word usage between political parties in speeches
- exploratory data analysis of text data
- stylometric analysis of authorship
- create interactive term scatter plots for a report

## When to choose
- you need to compare term usage across document categories in Python
- you want publication-quality interactive text visualizations
- you're doing computational social science or text-as-data research

## When to avoid
- you need general-purpose charting beyond text term comparison
- you need a production NLP pipeline rather than analysis/visualization
- you're not working in Python

## Facets
- artifact type: library
- maturity: active
- function: nlp, data-visualization, data-science
- domain: data-visualization, data-science
- platform: python, cross-platform
- tags: text-analysis, scatter-plot, d3, exploratory-data-analysis, stylometry, topic-modeling, word-embeddings, corpus-comparison, natural-language-processing

## Member repositories
- JasonKessler/scattertext (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.895563+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:21.940475+00:00, confidence not recorded.
  - readme: https://github.com/JasonKessler/scattertext (fetched 2026-08-28T04:06:38.895563+00:00, sha 652d2be4f840)
  - registry_pypi: https://pypi.org/pypi/scattertext/json (fetched 2026-08-29T10:17:51.563812+00:00, sha 5643a6fbf9a7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
