A Streamlit application that explores Indian forts and tourism data, providing insights into cultural heritage and tourist visits across different states.
- Interactive exploration of historical forts across India
- Filter forts by state and type
- View detailed information including:
- Location and coordinates
- Historical details
- Images
- Tourism statistics for the state
- Analysis of foreign tourist visits by state
- Interactive visualizations:
- Bar charts showing tourist visits
- Pie charts for distribution analysis
- Key statistics and metrics
- Year-wise analysis of tourist visits
- Country-wise visitor statistics
- Interactive visualizations:
- Line plots for trend analysis
- Bar charts for top countries
- Year-over-year growth analysis
- Python 3.7+
- Snowflake account with appropriate credentials
- Required Python packages (see requirements.txt)
- Clone the repository:
git clone https://github.com/imratnesh/snowflake_streamlit.git
cd snowflake_streamlit- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root with your Snowflake credentials:
SNOWFLAKE_USER=your_username
SNOWFLAKE_PASSWORD=your_password
SNOWFLAKE_ACCOUNT=your_account
SNOWFLAKE_WAREHOUSE=your_warehouse
SNOWFLAKE_DATABASE=your_database
SNOWFLAKE_SCHEMA=your_schema
- Start the Streamlit app:
streamlit run app.py- Open your browser and navigate to the URL shown in the terminal (typically http://localhost:8501)
- Forts data: Historical information about Indian forts
- Tourism data: Foreign tourist visits by state and country
- All data is stored in Snowflake database
snowflake_streamlit/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── .env # Environment variables (not in git)
├── .gitignore # Git ignore file
├── README.md # This file
├── tour/ # Tourism data directory
└── indian_forts.json # Forts data file
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- LinkedIn: Ratnesh Kushwaha
- YouTube: India Analytica
- Data provided by HackerEarth and YourStory
- Built with Streamlit
- Powered by Snowflake