File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Django Simple Charts
3+ description : Learn how to show-case charts in Django
4+ ---
5+
6+ import SubHeading from " @site/src/components/SubHeading" ;
7+
8+ <SubHeading color = " #25c2a0" >Learn how to show-case charts in Django</SubHeading >
9+
10+ > Input:
11+
12+ - Sample REPO: https://github.com/app-generator/django-simple-charts
13+
14+ > Topics
15+
16+ - Set UP a basic Django project
17+ - Install [ Material Design] ( https://github.com/app-generator/django-admin-material-dashboard )
18+ - Create Sales Model with fields:
19+ - product, string
20+ - price, int
21+ - currency, string (usd, eur)
22+ - country, string
23+ - purchase_date, Unix timestamp
24+ - The main page will showcase three charts:
25+ - Bar Chart
26+ - Line Chart
27+ - PIE Chart
28+ - Full implmentation as for beginners
29+ - The information is computed on server side
30+
31+ ![ Django - Simple Charts] ( https://user-images.githubusercontent.com/51070104/234304017-97178893-880c-495b-af73-e1c789a9b6b2.png )
32+
You can’t perform that action at this time.
0 commit comments