Skip to content

Repository files navigation

Reddit History Visualized

View the live visualization

Path-traced 3D view of my Reddit posting history

A visualizer for Reddit history: posts and comments, score data, subreddit distribution, trends, and path-traced 3D views.

Using the visualizer

Open the live visualization to explore the built-in demo or select Show me my own data.

The demo also includes a standalone 20-topic breakdown of the complete committed posting history. Regenerate it with python build_topics.py.

To visualize your own history:

  1. Request an export from Reddit's data request page.
  2. Download the ZIP Reddit emails to you; do not extract it.
  3. Drop the ZIP onto the import screen.
  4. Wait for score and thread-title enrichment, then select Display my data.

The ZIP and its CSV contents are read locally in your browser. They are not uploaded to this project. Reddit's export omits scores, so only post and comment IDs are sent to the third-party Arctic Shift archive. The processed dataset is stored in IndexedDB in your browser profile so the 2D and 3D views share it. Restore demo data clears that stored personal dataset.

Some IDs may not exist in Arctic Shift. Those records remain visible and are marked score unavailable; they are plotted at the zero-score position and do not contribute points to score totals.

Running locally

git clone https://github.com/GregBahm/RedditData.git
cd RedditData
python -m http.server 8765

Then open http://127.0.0.1:8765/viz/. The repository is self-contained. The committed demo reads viz/data.js; personal imports remain only in the browser profile.

Browser dependencies

The following libraries are vendored so page loads do not depend on a CDN:

Their license files are under viz/vendor/.

Regenerating the data

viz/data.js is built by fetch_scores.ps1 from a Reddit personal data export (the CSV export from https://www.reddit.com/settings/data-request). The export itself is not in this repo — it's large and private. The script:

  1. Reads posts.csv and comments.csv from the export folder
  2. Fetches score snapshots (and thread titles for comments) from the Arctic Shift archive API, since Reddit's export contains no scores
  3. Merges everything and writes viz/data.js

To rerun it, you need an export folder on disk, and you'll need to edit the hardcoded $exportDir and $outFile paths at the top of fetch_scores.ps1 to match your machine.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages