This project illustrates how to dynamically generate Google Charts in Django. The project has been made on Django 2.2, but the concepts shown in this project have been tested to work on Django 1.11 and 3.0 as well.
Youtube Tutorial on how to dynamically generate Google Chart in Django: https://www.youtube.com/watch?v=8x4JKMIY718&t=9s
Start your terminal and follow the listed steps!
Step 1. Clone the repository to your local machine:
git clone https://github.com/amobeo/googlecharts_django.git
Step 2. Navigate to the cloned directory:
cd googlecharts_django
Step 3. Install the dependencies(preferably on a virtual environment):
pip install -r requirements.txt
Step 4. Navigate to project directory:
cd googlecharts_django
Step 5. Create the database(activate your virtual environment before doing this if you have installed the dependencies in it):
python manage.py migrate
Step 6. Start the development server:
python manage.py runserver
Step 7. Visit the homepage of your project:
Fire up your web browser and type http://127.0.0.1:8000
in the address bar. Hit enter and you are ready to go!