To use the data script, in terminal run the following command: $ python data.py
- You have put Twitter API keys for extraction.
2. Geoplotting for the location of tweets based on geo-coordinates, user-timezone and user-location has been visualized using CartDB with frequency values of tweets occuring from a particular location.
3. The percent of tweets the non-Delhi and non-Mumbai people tweeting about the Delhi and Mumbai incidents visualized using Pie Charts by Google Charts.
4. The type of media used in tweets like text, image, video and GIFs and their ratio in overall tweets visualized using Donut Chart by Google Charts.
5. The ratio of original tweets vs the retweeted tweets visualized using Pie Charts by Google Charts.
6. Top 10 hashtags used for both Delhi and Mumbai data visualized using Bar Charts by Google Charts.
7. CDF for the favourite count on the original tweets visualized using matplotlib. Point on the graph defines the probability of tweets on the y-axis will have at-most favourite count defined on x-axis. Data analysis script: "my2.py" is stored in the Codes directory which is further analysed using Google charts. Webapp is hosted on: https://precog-task1-shrebox.herokuapp.com/