https://github.com/bitkeks/hn-vis
Visualization of the Hacker News frontpage with Python and R.
https://github.com/bitkeks/hn-vis
data-visualization ffmpeg scraping
Last synced: 2 months ago
JSON representation
Visualization of the Hacker News frontpage with Python and R.
- Host: GitHub
- URL: https://github.com/bitkeks/hn-vis
- Owner: bitkeks
- License: other
- Created: 2017-09-11T11:22:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T15:57:07.000Z (almost 9 years ago)
- Last Synced: 2025-10-06T17:46:26.945Z (9 months ago)
- Topics: data-visualization, ffmpeg, scraping
- Language: R
- Homepage: https://blog.netdecorator.org/2017/09/visualizing-the-hacker-news-frontpage.html
- Size: 2.31 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hacker News visualizations
This repo contains Python and R scripts related to my experiment I wrote about [on my blog](https://blog.netdecorator.org/2017/09/visualizing-the-hacker-news-frontpage.html).
`collector.py` uses Python3.6 with requests, BeautifoulSoup and lxml to periodically collect JSON snapshots of the Hacker News front page.
`analyzer.R` uses R with jsonlite and ggplot2 to produce PNG graph images from the produced JSON files.
Rendering the PNGs into a full video then looks like this:
