- DisGraph (HTN 2020++ Submission)
- Table of Contents
- About the Project
- Getting Started
- Usage
- License
- HTN 2020++ Group
Wanting to explore a unique way to share CSV/Excel data through the
Dropbase API, we thought about the platform through
which we were all communicating on. Discord. So we decided to create DisGraph
, a Discord bot that can read in your data from a .csv and return a graph.
At the moment the bot doesn't have a public link as it isn't hosted 24/7. But, if you'd like to host the bot yourself you can.
- Python 3.8 or greater
- Clone the repo
git clone https://github.com/brandonnly/HTN-2020.git - Install the required libraries
pip install -r requirements.txt - Set up a bot account
- Set up your Dropbase database with 4 tables (
one for each dataset template
)
- x_vs_yy
- name_vs_count
- geodot
- geospatial
- Setup environment variables with your API keys
BOT_TOKENDROPBASE_API_KEYDROPBASE_ACCESS_KEYX VS Y TABLENAME VS COUNT TABLEGEODOT TABLEGEOSPATIAL TABLE
There are a few options for graphs with one command. The CSV's must follow an
exact format as seen in example_data
The command is d!graph {graph_type}
- yy-bar
- CSV must have columns
x,y1,y2
- CSV must have columns
- yy-line
- CSV must have columns
x,y1,y2
- CSV must have columns
- yy-scatter
- CSV must have columns
x,y1,y2
- CSV must have columns
- y-pie
- CSV must have columns
name,count
- CSV must have columns
- geodot
- CSV must have columns
name,lat,lon
- CSV must have columns
- geospatial
- CSV must have columns
lon_departure,lat_departure,lon_arrival,lat_arrival
- CSV must have columns
This project is released under the MIT license, see LICENSE for more info.
Brandon Ly - branonly.me
Jerome Philip - LinkedIn - jeromephilip.com/
Farzad Rahman - farzadr-dev.github.io/
Joonseo Lee - LinkedIn

