Skip to content

Adding interactive charts using the Chart.js library to the Django admin dashboard.

Notifications You must be signed in to change notification settings

amirtds/django-interactive-charts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Interactive Charts

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment:

    $ python3 -m venv venv && source venv/bin/activate
  3. Install the requirements:

    (venv)$ pip install -r requirements.txt
  4. Apply the migrations:

    (venv)$ python manage.py migrate
  5. Populate the database with randomly generated data (amount = number of purchases):

    (venv)$ python manage.py populate_db --amount 2500
  6. Create a superuser, and run the server:

    (venv)$ python manage.py createsuperuser
    (venv)$ python manage.py runserver
  7. You can then see the charts here:

About

Adding interactive charts using the Chart.js library to the Django admin dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.7%
  • HTML 44.3%