Skip to content

Commit 2b32482

Browse files
committed
Django Simple Charts
1 parent 92bbbfd commit 2b32482

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+

0 commit comments

Comments
 (0)