Skip to content

Streamlit dashboard of StarTrek character interactions

Notifications You must be signed in to change notification settings

gmorinan/trekviz

Repository files navigation

TREKVIZ

Dashboard used to visualise how many lines and interactions characters have in the different Star Trek series. You can view it here (hosting provided by Streamlit).

To run this locally:

streamlit run app.py

Main libraries used are: Streamlit, Altair, Networkx & Pyvis

NOTES

  • Interactions = the number of consecutive lines the two characters shared.
  • Transcripts of episodes were used, hence "Episode Number" is actually transcript number.
  • Some transcripts covered 2-parters, hence why there are less transcripts that aired episodes.
  • Recent series (Discovery, Picard, Lower Decks) are not included due to lack of online transcripts.

GRAPHS WITH THUMBNAILS

  • /thumbnails contains images for each character.
  • /interactions contains HTML interaction graphs, made using Pyvis, that use these images for each character node (note these use relative path references, so if you move the files around everything will stop working).
  • However, at the time of writing, HMTL files displayed within Streamlit cannot read and display images. Hence the interaction graphs in app.py just use character names.
  • And for ease of transport a JPG summary is included in this repo:

image

ABOUT

Author details: profile , words

Transcripts source: chakoteya.net

Thumbnails source: memory-alpha.fandom.com

StarTrek rights owner: ViacomCBS

About

Streamlit dashboard of StarTrek character interactions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published