#techlearners
Python Django - Data Visualization using matplotlib
Market Share of top five Mobile Phone Companies
Prerequisites
1 python django setup
2 python django project
3 installed matplotlib
pip install matplotlib
Step 1 Create a template piechart.html
Step 2 Create a view in views.py for piechart template and to store data
Step 3 Modify template piechart.html to display data in tabular form
piechart.html
step 3 Create url for piechart.html in urls.py
Step 4 Modify piechart view in views.py to create piechart
Step 5 DIsplay graph using piechart template file
Step 6 Run server to view chart
python manage.py runserver
TECHLEARNERS BY NEERAJ SAXENA
www.techlearners.co.in
25 апр 2024