A Streamlit dashboard for monitoring key economic indicators relevant to the steel and mining industry. This dashboard displays data from various sources, including CRU steel price indices, NY Fed Supply Chain Pressure Index, oil prices, and more.
- Interactive visualization of key economic indicators
- Forecast projections for each indicator
- Cost indicators section for equipment and materials
- Correlation analysis between indicators
- Mobile-friendly responsive design
- Downloadable data for each indicator
To run the dashboard locally:
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
- Run the dashboard:
python run.py
The dashboard is deployed on Streamlit Cloud at: https://indicator-dashboard-dyp7oscj3twv9stxdb5zbn.streamlit.app
The dashboard uses data from various sources:
- CRU Steel Price Index (CRUspi)
- NY Fed Global Supply Chain Pressure Index
- WTI Crude Oil Price
- BLS Producer Price Index for Carbon Steel Scrap
- Baltic Dry Index
- US Dollar Index (DXY)
- PMI Input Prices
- ISM Supplier Deliveries Index
- Custom cost indicators based on BLS PPI components
indicator-dashboard/
├── dashboard/ # Main dashboard code
│ ├── components/ # Reusable UI components
│ ├── pages/ # Dashboard page modules
│ ├── utils/ # Utility functions
│ └── main.py # Entry point for local dev
├── data/ # Data files
│ ├── raw/ # Raw data files
│ ├── processed/ # Processed data files
│ └── forecasts/ # Forecast data files
├── notebooks/ # Jupyter notebooks for analysis
├── run.py # Script to run the dashboard locally
├── setup_data_dir.py # Script to set up data directory
├── streamlit_app.py # Entry point for Streamlit Cloud
└── requirements.txt # Python dependencies
- Jupyter notebooks download data from various sources and save to data directories
- Data loader components read from these directories
- Dashboard components visualize and analyze the data
This dashboard is designed to work both locally and in the Streamlit Cloud environment. The streamlit_app.py
file serves as the entry point for cloud deployment.
For cloud deployment, the app uses:
- Pre-generated data files included in the repository
- Sample data generation as a fallback for missing data
If you encounter issues with missing data:
- Run
python setup_data_dir.py
to initialize the data directory structure - Check the log output for any errors
- If using locally generated data, ensure files are in the correct directories
This project is proprietary and confidential.
For questions or issues, please contact [email protected]