Giter VIP home page Giter VIP logo

brasileiraoapp's Introduction

by: @freest_man (twitter) https://github.com/freest-man/Streamlit_FootballApp

Streamlit_FootballApp

App Deployed Here ---> https://footballapp.streamlit.app/

Incase the App malfunctions here's a demo:

(https://www.youtube.com/watch?v=MqCAH1u2aao&ab_channel=Sasi)

This code is a Streamlit app for exploring English Premier League (EPL) football team statistics.

For the Data Visualisation UI, the package used is PygWalker Check it out here: https://kanaries.net/home/pygwalker

Let me break down the key components for you:

1/ Imports

image

These are Python libraries used for creating the web app (Streamlit for the app interface), handling data (Pandas, NumPy), and creating visualizations (PygWalker).

StreamlitRender is for rendering the Dashboard UI

init_streamlit_com is for initiating communication between pygwalker and streamlit

GlobalVarManager is to set the Kanaries API for the chat feature.

2/ App Title and Description:

image

It sets the title of the app and provides a brief description of what the app does, including the Python libraries used and the data source.

3/ User Input Sidebar

image

The sidebar allows users to select the year for which they want to explore EPL stats.

4/ Data Source and Web Scraping

image

The load_data function retrieves EPL team stats for the selected year by scraping data from the provided URL. The data is stored in a Pandas DataFrame.

5/ User Input for Team Selection

image

Users can select one or more teams from the sidebar.

The data is filtered based on the selected teams, and the resulting DataFrame is displayed.

6/ Visualization

image

A button is provided to generate a visualization using the PygWalker library.

The button triggers the creation and rendering of a PyGWalker visualization using a cached instance of the StreamlitRenderer class.

brasileiraoapp's People

Contributors

ricardobatista1986 avatar

Watchers

 avatar

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.