BitcoinDataVisualizer is a Python project designed to visualize historical Bitcoin price data. It uses yfinance
to fetch historical Bitcoin data and plotly
to create interactive graphs that highlight price peaks and troughs.
Follow these steps to set up and run the project on Ubuntu 22.04:
-
Update and Upgrade System Packages:
sudo apt update sudo apt upgrade -y
-
Install Python 3 and
pip
:If Python 3 and
pip
are not already installed, you can install them using:sudo apt install python3 python3-pip -y
-
Install Git (if not already installed):
sudo apt install git -y
-
Clone the Repository:
git clone https://github.com/vitaliy-developer//BitcoinDataVisualizer.git cd BitcoinDataVisualizer
-
Create a Virtual Environment:
python3 -m venv btc_venv
-
Activate the Virtual Environment:
source btc_venv/bin/activate
-
Install the Dependencies:
pip install -r requirements.txt
-
Run the Project:
Execute the
analysis.py
script to generate and view the interactive Bitcoin price graph:python analysis.py
analysis.py
: Contains the code for downloading Bitcoin data, processing it, and creating the interactive plot.requirements.txt
: Lists the required Python packages for the project.
pandas
plotly
yfinance