Skip to content

A simple Panel-based dashboard visualizing geotagged tweets with hvplot and Datashader.

License

Notifications You must be signed in to change notification settings

enricocid/panel-geodashboard-twitter-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 Twitter dashboard

License: CC BY-SA 4.0

A simple Panel-based dashboard visualizing geotagged tweets with hvplot and Datashader.

The dashboard includes:

  • An heatmap showing the number of tweets;

  • A bar plot showing the 5 most common languages within the current map extent;

  • A wordcloud image showing the 10 most popular hashtags within the current map extent;

  • Two numeric indicators showing the number of tweets and unique users on a daily basis within the current map extent;

  • Two line charts showing the number of tweets and unique users on a daily basis within the current map extent;

The dashboard in action!!! 📺

twitter_dashboard.mp4

Twitter data (link)

This dataset contains over 200k geotagged tweets in parquet format:

  • Coverage: Historic Centre of Rome, Italy;

  • EPSG: 3857;

  • Year: 2018;

  • Language: Multi;

  • Source: This dataset was scraped by myself with snscrape;

Column Description
tweet_date (index) Tweet creation date
user_id Unique identifier of the tweet author
user_location User location information
tweet_id Unique identifier of the tweet
tweet_text Tweet content
tweet_hashtags Comma separated list of the tweet hashtags
tweet_lang Tweet language
x x-coordinate of the tweet
y y-coordinate of the tweet

Set up

To run this dashboard you will need to do the following steps:

  1. Git clone this repository:

git clone https://github.com/ivandorte/panel-geodashboard-twitter.git

cd panel-geodashboard-twitter

  1. Install the required Python packages:

python -m pip install -r requirements.txt

  1. Run the app

python -m panel serve app.py --show

The dashboard will be available in your web browser!!!

Deployment

This dashboard has not been deployed yet.

References

Authors

  • Ivan D'Ortenzio

Twitter LinkedIn

About

A simple Panel-based dashboard visualizing geotagged tweets with hvplot and Datashader.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%