Information Visualization

79 - Events on Timeline

Increasing insight into text by plotting events chronological on a timeline.

Plotting events chronological on a timeline increases the insight. Some example setups for plots are:

  • Document Timeline: document publishing date vs document title
  • Sentence Timeline: date, timestamp or period vs its sentence (demo)
  • Dispersion Plot: the location (word offset) of a keyword in a text

Dispersion plot for Game of Thrones keywords (source)

Some libraries for inspiration: Seaborn stripplot, Yellowbrick dispersion plot, NLTK dispersion plot, Calmap heatmap per day from pandas timeseries, Knightlab javascript timeline for data in google sheets.

This article is part of the project Periodic Table of NLP Tasks. Click to read more about the making of the Periodic Table and the project to systemize NLP tasks.