Code Monkey home page Code Monkey logo

webscraping's Introduction

WebScraping(Flight Crash Statistics Dashboard)

Welcome to the Flight Crash Statistics Dashboard project! This application is designed to scrape flight crash data from Aviation Safety Network using Selenium in Python and present the statistics on your own website using Dash and Plotly graphs. The data covers flight crashes from 1919 to 2023.

Table of Contents

Features

  • Web scraping flight crash data from Aviation Safety Network using Selenium.
  • Displaying statistics and visualizations of flight crashes using Dash and Plotly.
  • Data covers the period from 1919 to 2023, providing a comprehensive overview of historical flight incidents.
  • Predicting by trained data future catastrophies with losses in crew and passengers.

Installation

Follow these steps to set up and run the Flight Crash Statistics Dashboard on your local machine:

  1. Clone the repository:

    git clone https://github.com/Villad-dev/WebScraping.git
    cd WebScraping
    

Usage

To use this application, follow these steps:

Step 1: Web Scraping

  1. Import the necessary modules for web scraping:

import csv from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoSuchWindowException from selenium.common.exceptions import StaleElementReferenceException from selenium.common.exceptions import WebDriverException

Step 2:

  1. Process and format the scraped data as needed using the Pandas library.

import pandas as pd from dateutil import parser

Step 3:

Dash Dashboard

  1. Import the necessary modules for creating the Dash dashboard:

import dash import base64 import requests import pandas as pd import plotly.express as px from dash import dcc from dash import html from dash import dash_table from dash.dependencies import Input, Output

  1. Launch the Dash application by running the app.py script:

python app.py

  1. Open your web browser and navigate to http://localhost:8050 to interact with the dashboard.

  2. Remember to customize the code as needed to fit your specific use case and data processing requirements.

Screenshots

image

image

image

image

image

License

This project is licensed under the MIT License.

For applying all visual features beter to use Visual Studio code or whatever.

webscraping's People

Contributors

villad-dev 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.