This project aims to provide visualizations of stock data using AI-generated images. The visualizations include representations of cash stacks, office sizes, and comparisons between companies based on their financial data.
- Extract financial data from text for stocks with ticker symbols.
- Use AI to visualize:
- Industry
- Employee count
- Quarterly profit
- Generate real-life images of:
- Cash stacks representing quarterly profit
- Office sizes comparing employee count
- Compare companies' visualizations
- Web application to display and compare the generated images
server.py
: Flask server to serve the generated images.src/ImageGallery.js
: React component to display the generated images.src/App.js
: Main React application file.
pip install -r requirements.txt
-
Install Flask:
pip install Flask
-
Run the Flask Server:
python server.py
-
Create a React Application:
npx create-react-app stock-visualizer cd stock-visualizer
-
Install Axios:
npm install axios
-
Run the React Application:
npm start
-
Start the Flask server:
python server.py
-
Start the React application:
cd stock-visualizer npm start
-
Open your web browser and go to
http://localhost:3000
to see the generated images.
This project is licensed under the MIT License.