/django-chartjs-example

Django web application integrated with Pandas library to load data first time from CSV files and Chart.js for data visualization

Primary LanguagePythonMIT LicenseMIT

How to Use Chart.js with Django

Python Version Django Version Pandas Version

Code example based on the tutorials How to Use Chart.js with Django and Django, Pandas and Chart.js for a quick dashboard.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/pochito427/django-chartjs-example.git

Install the requirements:

pip install -r requirements.txt

Apply the migrations:

python manage.py migrate

Load the data from fixtures:

python manage.py loaddata countries.json

Finally, run the development server:

python manage.py runserver

The project will be available at 127.0.0.1:8000.

License

The source code is released under the MIT License.