Web Scraper

Web Scraper and Videogame Data Visualizer

Graph of Video game data

Picture of the data vizualized in the form of a graph with a dropdown button selector.

The motivation behind this project is to create a way to easily compare my friends' and my own Dead By Daylight Statistics. Dead By Stats is a webpage that allows you to visualize your own stats and we will often compare them. This web scraper is made so that we can compare all three at once via a graph. This is done by a github action that runs once per day on my website that runs python code made to scrap the Dead By Stats page of each of our accounts and compile the information into JSON files and commit the changes to this website's repository. The Python code uses BeautifulSoup to get the html data and parse the title of each data element and the value and store them in a JSON file.

The data is visualized by parsing all of the different data element titles from the JSON files and populating a drop down menu. When this data is accessed by selecting a data element the graphs are populated using a JavaScript file courtesy of JSDelvr.com. Each bar on the graph is the relevant data point from the JSON file corresponding to the selected option on the dropdown menu.