Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgmacedo/django-d3-example
Sample project to help who want to integrate D3 getting data from Django.
https://github.com/fgmacedo/django-d3-example
Last synced: 3 months ago
JSON representation
Sample project to help who want to integrate D3 getting data from Django.
- Host: GitHub
- URL: https://github.com/fgmacedo/django-d3-example
- Owner: fgmacedo
- Created: 2016-10-18T19:51:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T18:14:55.000Z (4 months ago)
- Last Synced: 2024-07-10T21:52:53.823Z (4 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 69
- Watchers: 6
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# D3-Django integration
Sample project to help who want to integrate D3 getting data from Django.
Companion repository of the StackOverflow answer: [Passing data from Django to D3](http://stackoverflow.com/a/26455798/585592).
Questions? Please let me know!
Best regards!
## Quickstart
Clone this repository.
Install requirements:
pip install -r requirements.txt
Migrate:
python manage.py migrate
Create a superuser:
python manage.py createsuperuser
Run the development server:
python manage.py runserver
Log into admin and add some Play instances (sample data).
http://localhost:8000/admin/
See your graph at root url:
http://localhost:8000/