Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davish/dash-demo

An example dashboard able to show some statistics over time from a CSV file in a pretty way
https://github.com/davish/dash-demo

Last synced: 24 days ago
JSON representation

An example dashboard able to show some statistics over time from a CSV file in a pretty way

Awesome Lists containing this project

README

        

# dash-demo

## Loading Data

- Data is loaded into the PostgreSQL database via a webpage at `/dashboard/update`
(`import_stats` in `dashboard/views.py`) that takes a .csv file.
- The file, when sent to the server, is parsed line-by-line by `dashboard/uploading.py`.
- Here, a line is checked to see if there is already a database entry that has the same date.
- If there isn't, the line is inserted into the DB. Otherwise, the data is updated.

## Spec

* line graph of signups, viewable by day, week, month
* signups from reps overtime compared to non-rep signups
* rep signups as a % of overall growth over time
* cumulative growth over time, on a % weekly growth basis
* Anything else you think would be valuable!

- data needs to be loaded dynamically into PostgreSQL