This project is the FRONT END analysis implementation for Twitter real time sentiment analysis pipeline, which uses Apache Flume and Apache Spark. Final Project for WPI 2020 Fall CS573 Data Visualization.
- About the Project
- Getting Started
- Charts
- Complete Tasks
- Contributing
- Schedule of Deliverables
- License
- Contact
- Acknowledgements
Information is crucial to the function of a democratic society where well- informed citizens can make rational political decisions. While in the past political entities were primarily utilizing newspaper and later television to inform the public, with the rise of the Internet and online social media, the political arena has transformed into a more complex structure. So, it is essential to see how people on the Internet, particularly on Twitter, think about the presidential election candidates.
- CSS, HTML, Javascript
- PHP-5.6
- MySQL-5.6.49
- VegaLite-4.16.8
- PhpStorm
Make sure you have tweets data pipeline setup like this. The tweets are saved in the MySQL database and formated correctly.
- Clone the repo into a host
git clone https://github.com/StefanZhang/TwitterRealTimeAnalysis-Dashboard.git
-
Export data from MySQL into .csv format using export_csv.php or SQL queries, and put under main directory.
-
End result: Dashboard
This Pie Chart displays the percentage of different sentiment respect to each other. The Majority of the tweets about Trump is negative.
This Aria Chart displays the number of the tweets posted respect to the time of a day.
This Line Chart displays the number of the tweets posted respect to date.
This Bar Chart displays the number of the tweets posted respect to device.
- Configured web environment.
- MySQL is appropriately setup.
- CSV generating/loading correctly
- Create data viz based on the sketch.
- Data viz performance evaluation.
- Data viz Interaction
- Finalize the project.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Date | Task | Description |
---|---|---|
Week1 | Environment Setup | Configure the web environment, set up database, make sure the CSV is generating/loading properly. |
Week2 | Create Data Viz I | Create the first version of data viz, including pie chart and line chart. |
Week3 | Create Data Viz II | Evaluate the data viz performance, create new viz if necessary. |
Week4 | Create Data Viz III | Polish the data viz, add user interaction/menu. |
Week5 | Finalize Project | Finalize the project, make sure it ready for submission. |
Distributed under the MIT License. See LICENSE
for more information.
Xiaofeng(Stefan) Zhang - [email protected]
Project Link: https://github.com/StefanZhang/TwitterRealTimeAnalysis-Dashboard