This project provides a real-time sentiment analysis dashboard that dynamically updates sentiment plots based on keyword-specific data stored in Firebase Firestore. It is designed to visualize sentiment trends over a specified date range for user-entered keywords.
- Real-Time Data Visualization: Automatically updates sentiment plots when new data enters Firestore that matches the specified keywords and date range.
- User-Friendly Interface: Simple form input for keywords and date selection.
- Responsive Design: Works effectively across different devices and screen sizes.
Before you start, ensure you have the following installed:
This project also requires a Firebase project with Firestore enabled.
git clone https://github.com/yourusername/sentiment-analysis-dashboard.git
cd sentiment-analysis-dashboard
npm install
Create a Firebase project at Firebase Console. Enable Firestore in your Firebase project. Add your Firebase project credentials to the project:
const firebaseConfig = {
apiKey: 'your-api-key',
authDomain: 'your-auth-domain',
projectId: 'your-project-id',
storageBucket: 'your-storage-bucket',
messagingSenderId: 'your-messaging-sender-id',
appId: 'your-app-id',
measurementId: 'your-measurement-id'
};
firebase.initializeApp(firebaseConfig);
To deploy this project to Firebase Hosting, follow these steps:
npm install -g firebase-tools
firebase login
firebase init
firebase deploy
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is open source and available under the MIT License.