Git Product home page Git Product logo

sample-django-charts-multiple's Introduction

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.


Features:

  • โœ… Up-to-date dependencies
  • โœ… Stack: Django
  • โœ… API: DRF (Django REST Framework)
  • โœ… Chart Libraries:
    • ๐Ÿ‘‰ Charts.js
    • ๐Ÿ‘‰ Chartist
    • ๐Ÿ‘‰ amCharts
    • ๐Ÿ‘‰ Google Charts
    • ๐Ÿ‘‰ Apex Charts

Django Charts: amCharts, Google Charts, Apex - Free sample by AppSeed.

โœจ 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

sample-django-charts-multiple's People

Contributors

app-generator avatar koladev32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.