Git Product home page Git Product logo

panel-geodashboard-twitter's Introduction

๐Ÿฆ Twitter dashboard

License: CC BY-SA 4.0

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

img

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 SVG showing the 10 most popular hashtags within the current map extent;

  • A pie chart showing the overall sentiment (positive/negative) 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;

Deployed on

Hugging Face: https://huggingface.co/spaces/ivn888/Twitter-dashboard

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
tweet_sentiment Sentiment Analysis (Multilingual model)
tweet_topic Topic Classification (English, single-label model)
x x-coordinate of the tweet
y y-coordinate of the tweet

How to run this app on your local system

  1. Git clone this repository:

git clone [email protected]: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

panel serve app.py --show

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

References

Authors

  • Ivan D'Ortenzio

Twitter LinkedIn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.