AP
app-generator/sample-django-charts-multiple
Django Charts via amCharts, Apex, G.Charts - Free Sample | AppSeed
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.
- ๐ Multiple Charts via Django & DRF - Blog Article
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.txtOr 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 runserverThe bootstrap flow
- Access the
adminsection- Load
data/users.csvin users table (using import/export feature) - Load
data/products.csvin users table (using import/export feature)
- Load
- Access the HOMEpage
- Charts should be displayed with data
Django Charts amCharts, G.Charts, Apex - provided by AppSeed
