https://github.com/ari-hacks/the-hub
📈📊 A hub where users can experiment with graphing and Python in the browser (https://pyodide-experiment.herokuapp.com/)
https://github.com/ari-hacks/the-hub
datascience javascript pipenv pyodide python wasm webassembly webmonetization
Last synced: 11 months ago
JSON representation
📈📊 A hub where users can experiment with graphing and Python in the browser (https://pyodide-experiment.herokuapp.com/)
- Host: GitHub
- URL: https://github.com/ari-hacks/the-hub
- Owner: ari-hacks
- License: mit
- Created: 2020-05-11T13:14:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:45:37.000Z (over 3 years ago)
- Last Synced: 2025-03-26T17:11:21.262Z (over 1 year ago)
- Topics: datascience, javascript, pipenv, pyodide, python, wasm, webassembly, webmonetization
- Language: HTML
- Homepage: https://pyodide-experiment.herokuapp.com/
- Size: 4.24 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Data Hub 📈

## About
A demo hub where users can experiment with data science by graphing data sets in the browser then downloading them. Web Monetized browsers won't see the ads on the page and can also experiment with additional graphing tools.
## This Project is a Grant For the Web x DEV Hackathon Runner-Up Winner 🏆🎉
✍️ [Blog Post](https://dev.to/ari_hacks/python-in-the-browser-a-web-monetization-x-web-assembly-experiment-32c1)
## Features
- [x] csv upload
- [x] Enhanced Plots with [Plotly](https://plotly.com/)
- [x] Web Monetization enabled
- [x] Image download
## Testing Data
Plot | Input File
---------|----------
Pie | [Comparison of trending operating systems](/data/os-comparison.csv) |
Scatter/Line | [Trends of funny zoom backgrounds](/data/zoom-backgrounds.csv) |
Time Series | [Comparison of trending noodles](/data/Pho%20vs%20Ramen%20vs%20Soba.csv) |
Geo Map | [International earthquake data](/data/earthquake-data.csv) |
Heat Map | [Random Data Set](/data/heatmap-dataset%20-%20Sheet1.csv) |
3-D | [Random Data set](/data/plotly-dataset.csv)
## Set up
### Requirements
- [Python](https://www.python.org/) 3.7
- Pipenv
- Browser with [coil wallet (No Sign in required for testing)](https://chrome.google.com/webstore/detail/coil/locbifcbeldmnphbgkdigjmkbfkhbnca?hl=en)
- ~~[Get Latest Pyodide Downloaded (pyodide.js)](https://github.com/iodide-project/pyodide/releases)~~ Using CDN
- [Bookmarklet : For testing coil without an account](https://testwebmonetization.com/)
### Local development
After the above requirements have been met:
1. Clone this repository and `cd` into it
```bash
➜ git clone https://github.com/ari-hacks/the-hub.git
➜ cd the-hub
```
2. Dependencies
```bash
#updating pipenv
➜ pip install pipenv --upgrade
```
```bash
➜ pipenv shell
➜ pipenv install
```
3. Run the server
```bash
➜ python3 server.py
#navigate to http://127.0.0.1:8000/
```
## License
[MIT](http://www.opensource.org/licenses/mit-license.html)