Coder Social home page Coder Social logo

volume_coin's Introduction

Crypto Volume Bar Chart

Crypto Volume Bar Chart is a web application that allows users to scrape cryptocurrency data from a specified website and visualize the trading volumes as a bar chart. The app is built with Python, Flask, Socket.IO, and Chart.js.

Features

  • Real-time data scraping using WebSockets: The app updates the bar chart dynamically as new volume data becomes available.

  • Interactive web interface: Users can input the website URL from which they want to scrape data and view the bar chart with volume data.

  • Customizable starting index: Users can choose the starting index for the displayed data in the chart.

  • Export data: Users can export the scraped data in JSON format.

Getting Started

  1. Clone the repository:
git clone https://github.com/CharlieCidral/crypto-volume-bar-chart.git
  1. Install the required libraries:
pip install Flask Flask-SocketIO requests selenium beautifulsoup4 matplotlib pandas
  1. Run the app:
python app.py
  1. Access the app in your web browser at http://127.0.0.1:5000/.

Usage

  1. Enter the URL(https://coinmarketcap.com/) of the website you want to scrape in the provided input field.
  2. (Optional) Choose the starting index for the displayed data in the chart. The default is 0.
  3. Click the "Scrape Data" button. The app will scrape the data and update the bar chart in real-time.

Screenshot

image

Dependecies

  • Flask: Web framework for building the application.
  • Flask-SocketIO: Provides WebSocket support for real-time communication.
  • requests: HTTP library for making web requests.
  • selenium: Web browser automation library for web scraping.
  • beautifulsoup4: Library for parsing HTML and XML documents.
  • matplotlib: Library for creating visualizations, including the bar chart.
  • pandas: Data analysis library for handling data structures and manipulation.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request with any improvements or bug fixes.

volume_coin's People

Contributors

charliecidral 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.