https://github.com/reachsumit/lost-in-recommendations
Lost in Recommendations is a Flask based WebApp that uses D3.js force directed graphs to visualize YouTube/Wikipedia recommendations.
https://github.com/reachsumit/lost-in-recommendations
ajax bootstrap cookies d3 flask force-directed-graphs herokuapp html javascript jquery json python3
Last synced: over 1 year ago
JSON representation
Lost in Recommendations is a Flask based WebApp that uses D3.js force directed graphs to visualize YouTube/Wikipedia recommendations.
- Host: GitHub
- URL: https://github.com/reachsumit/lost-in-recommendations
- Owner: reachsumit
- Created: 2017-12-30T09:37:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-31T21:49:14.000Z (over 8 years ago)
- Last Synced: 2025-01-17T17:14:04.897Z (over 1 year ago)
- Topics: ajax, bootstrap, cookies, d3, flask, force-directed-graphs, herokuapp, html, javascript, jquery, json, python3
- Language: Python
- Homepage: https://lostinrecommendations.herokuapp.com/
- Size: 969 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lost in Recommendations!
* It is one of the running joke on the internet that video recommendations on Youtube website sometimes tangential to your interests. And it is common for many users to surf through recommended videos and end up on a totally different video.
* In this project, I have created a website that attempts to visualize a users's journey through the recommended videos on YouTube (and also the recommended articles on Wikipedia).
* WebApp is live on https://lostinrecommendations.herokuapp.com/.
## Highlights:
* Complete end-to-end solution [running on Heroku as a webapp](https://lostinrecommendations.herokuapp.com/).
* User is allowed to search a query on either Youtube or Wikipedia and user can also click on any node in the graph to further expand the graph with recommendations.
* Web sever is Flask-based and is written in Python.
* [Freelancer bootstrap theme](https://startbootstrap.com/template-overviews/freelancer/) was used for front-end component.
* Javascript/jQuery/AJAX used for managing interaction (GET/POST communication) with Flask server.
* D3 force directed graph is created to visualize the recommendations.
* Web scraping is done in order to generate data for D3 graph.
# Known issues:
* Due to certain fields optimized for desktop viewing, the mobile interface for the site is not rendered smoothly. This needs further work and improvements.
## Screenshots
Home Page

Sample Wikipedia search result

Click to further see recommendations for a node

D3 force directed graphs support force/drag actions

Sample Youtube search results

Mobile site preview
