https://github.com/app-generator/sample-django-charts-multiple
Django Charts via amCharts, Apex, G.Charts - Free Sample | AppSeed
https://github.com/app-generator/sample-django-charts-multiple
appseed-sample chartjs django-sample
Last synced: 8 months ago
JSON representation
Django Charts via amCharts, Apex, G.Charts - Free Sample | AppSeed
- Host: GitHub
- URL: https://github.com/app-generator/sample-django-charts-multiple
- Owner: app-generator
- License: mit
- Created: 2022-04-27T04:34:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T03:36:38.000Z (over 1 year ago)
- Last Synced: 2025-10-07T18:52:07.704Z (8 months ago)
- Topics: appseed-sample, chartjs, django-sample
- Language: Python
- Homepage: https://blog.appseed.us/django-sample-amcharts-googlecharts-apexcharts/
- Size: 71.3 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Django Charts](https://blog.appseed.us/django-sample-amcharts-googlecharts-apexcharts/) `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](https://blog.appseed.us/django-sample-amcharts-googlecharts-apexcharts/) - Blog Article
---
> For a **complete set of features** and long-term support, check out **[Dynamic Django](https://app-generator.dev/docs/developer-tools/dynamic-django/index.html)**, a powerful starter that incorporates:
- ✅ [Dynamic DataTables](https://app-generator.dev/docs/developer-tools/dynamic-django/datatables.html): using a single line of configuration, the data saved in any table is automatically managed
- ✅ [Dynamic API](https://app-generator.dev/docs/developer-tools/dynamic-django/api.html): any model can become a secure API Endpoint using DRF
- ✅ [Dynamic Charts](https://app-generator.dev/docs/developer-tools/dynamic-django/charts.html): extract relevant charts without coding all major types are supported
- ✅ [CSV Loader](https://app-generator.dev/docs/developer-tools/dynamic-django/csv-loader.html): translate CSV files into Django Models and (optional) load the information
- ✅ Powerful [CLI Tools](https://app-generator.dev/docs/developer-tools/dynamic-django/cli.html) for the GIT interface, configuration editing, updating the configuration and database (create models, migrate DB)
## ✨ How to use it
> 👉 **Clone Sources** (this repo)
```bash
$ git clone https://github.com/app-generator/sample-django-charts-multiple.git
$ cd sample-django-charts-multiple
```
> 👉 **Install Modules** using a Virtual Environment
```bash
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
```
Or for **Windows-based Systems**
```bash
$ virtualenv env
$ .\env\Scripts\activate
$
$ # Install modules - SQLite Database
$ pip3 install -r requirements.txt
```
> 👉 **Migrate Database**
```bash
$ python manage.py migrate
$ python manage.py runserver
```
> 👉 **Create Superuser**
```bash
$ python manage.py createsuperuser
```
> 👉 **Start the APP**
```bash
$ 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 `amCharts`, `G.Charts`, `Apex` - provided by [AppSeed](https://appseed.us)