Skip to content

app-generator/sample-django-charts-multiple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Charts amCharts, G.Charts, Apex

Sample project crafted with Django, DRF and multiple Charts Libraries to showcase how to plot different charts Pie, Line, and Bar Charts, using Bootstrap5 for styling.



For a complete set of features and long-term support, check out Dynamic Django, a powerful starter that incorporates:

  • Dynamic DataTables: using a single line of configuration, the data saved in any table is automatically managed
  • Dynamic API: any model can become a secure API Endpoint using DRF
  • Dynamic Charts: extract relevant charts without coding all major types are supported
  • CSV Loader: translate CSV files into Django Models and (optional) load the information
  • ✅ Powerful CLI Tools for the GIT interface, configuration editing, updating the configuration and database (create models, migrate DB)

✨ How to use it

👉 Clone Sources (this repo)

$ git clone https://github.com/app-generator/sample-django-charts-multiple.git
$ cd sample-django-charts-multiple

👉 Install Modules using a Virtual Environment

$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt

Or for Windows-based Systems

$ virtualenv env
$ .\env\Scripts\activate
$
$ # Install modules - SQLite Database
$ pip3 install -r requirements.txt

👉 Migrate Database

$ python manage.py migrate
$ python manage.py runserver

👉 Create Superuser

$ python manage.py createsuperuser

👉 Start the APP

$ python manage.py runserver

The bootstrap flow

  • Access the admin section
    • Load data/users.csv in users table (using import/export feature)
    • Load data/products.csv in users table (using import/export feature)
  • Access the HOMEpage
    • Charts should be displayed with data

Django Charts via DRF and Charts.js - provided by AppSeed.



Django Charts amCharts, G.Charts, Apex - provided by AppSeed

Releases

No releases published

Packages

No packages published