How to display pie chart using Django

14 views
Skip to first unread message

ratnadeep ray

unread,
May 7, 2020, 6:40:08 AM5/7/20
to Django users
Hi all, 

I just started to work on Django and hence have limited knowledge about it. 

Now I need to design an app to display a pie chart based on some sample data. Can anybody please help me to do so? Is there any sample app existing which fulfills this requirement ? 

Thanks. 

Larry Martell

unread,
May 7, 2020, 8:32:17 AM5/7/20
to django...@googlegroups.com
You need to choose a charting package, such as google charts or
plotly, then in your python code get the data you want to chart and
pass it to your template and in the template write some javascript
code to render the chart. Googling django pie chart should give you
examples.
Reply all
Reply to author
Forward
0 new messages