Skip to content

zulfiqarAlibalti/voilenceanalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Project Banner
python pandas plotly dash

Twitter Violence Extremism Data Analytics Dashboard

Analyze and visualize Twitter data related to violence extremism from 2012 to 2015. This web application leverages various Python libraries for data processing, sentiment analysis, and visualization. Twitter Violence Extremism Data Analytics Dashboard
  1. 🤖 Introduction
  2. ⚙️ Tech Stack
  3. 🔋 Features

🚨 About

This project is a comprehensive web application built with Dash and Flask, which analyzes Twitter data related to violence extremism. It includes functionalities like sentiment analysis, data visualization with Plotly, word cloud generation, and geolocation mapping. The data spans from 2012 to 2015 and offers insights into user activities, sentiment trends, and more.

Twitter Violence Extremism Data Analytics Demo

This application simplifies the analysis of Twitter data related to violence extremism. It leverages Python libraries such as Pandas, Plotly, and NLTK for data processing and visualization. The app provides an intuitive dashboard for exploring sentiment trends, user activities, and more.

  • Python
  • Pandas
  • Plotly
  • Dash
  • Flask
  • TextBlob
  • NLTK
  • WordCloud
  • Geopy
  • PDFKit

👉 Sentiment Analysis: Analyzes the sentiment of tweets using TextBlob, classifying them as positive, negative, or neutral.

👉 Timeline Visualization: Displays sentiment trends over time using line charts.

👉 Donut Chart for Sentiment Distribution: Visualizes the distribution of sentiments in a donut chart.

👉 Top Users and Followers: Identifies and displays the top users by tweet count and follower count.

👉 Word Cloud Generation: Creates a word cloud from the tweet text data.

👉 Geolocation Mapping: Maps the locations of tweets using geolocation data.

👉 Top Hashtags and City-wise Sentiment: Displays the most popular hashtags and sentiment distribution across top cities.

👉 PDF Report Generation: Allows users to download the visualizations as a PDF report.

🚀 Quick Start

  1. Clone the repository:

    git clone <https://github.com/zulfiqarAlibalti/voilenceanalytics.git>
    cd <voilenceanalytics>
  2. Install the dependencies:

    pip install -r requirements.txt
  3. Run the application:

    python app.py

🔗 Links

🛠️ Additional Notes

  • Ensure that NLTK data is downloaded before running the application:
    import nltk
    nltk.download('punkt')
  • Make sure to update the path to wkhtmltopdf in the pdfkit configuration if running on a different system.

Feel free to customize and expand this README as needed for your specific project requirements.