InsightBlaze is a data visualization dashboard that provides interactive insights into various global trends and forecasts. This project uses a Flask backend with MongoDB for data storage and a React frontend for visualization.
- Python 3.7+
- Node.js 14+
- MongoDB 4.4+
-
Clone the repository:
git clone https://github.com/yourusername/insightblaze.git cd insightblaze
-
Set up a virtual environment:
cd backend python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file in thebackend
directory with the following content:MONGO_URI=mongodb://localhost:27017/insightblaze
-
Navigate to the frontend directory:
cd ../frontend
-
Install dependencies:
npm install
-
Start MongoDB on your local machine.
-
In one terminal, start the backend server:
cd backend source venv/bin/activate # On Windows use: venv\Scripts\activate python app.py
-
In another terminal, start the frontend development server:
cd frontend npm start
-
Open your browser and navigate to
http://localhost:3000
to view the application.
-
Data Loading 💾: On first run, navigate to
http://localhost:5000/load_data
to populate the database with initial data. -
Dashboard Overview 📊: The main dashboard displays various charts and statistics based on the loaded data.
-
Filtering Data 🔍:
- Use the date range picker to filter data by specific time periods.
- Select topics of interest from the topic dropdown menu.
- Choose specific regions or countries to focus on particular geographical areas.
- Use the PESTLE filter to view data related to Political, Economic, Social, Technological, Legal, or Environmental factors.
-
Changing Visualizations 📈: Click on different chart types (e.g., bar, line, pie) to switch between visualization styles for the same data.
-
Detailed Insights 🔬: Click on specific data points in charts to view more detailed information about that particular insight.
-
Exporting Data 📤: Use the export button to download the currently displayed data as a CSV file.
- Interactive data filtering and visualization
- Multiple chart types (bar, line, pie, etc.)
- PESTLE analysis view
- Geographic data representation
- Time-based trend analysis
- Data export functionality
- Responsive design for various screen sizes
Contributions to InsightBlaze are welcome! Please refer to the CONTRIBUTING.md
file for guidelines on how to make contributions.
This project is licensed under the MIT License - see the LICENSE.md
file for details.