File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Django & Plotly
3+ description : Learn how to show-case charts with Django & Plotly
4+ ---
5+
6+ import SubHeading from " @site/src/components/SubHeading" ;
7+
8+ <SubHeading color = " #25c2a0" >Learn how to show-case charts with Django & Plotly</SubHeading >
9+
10+ > Input:
11+
12+ - Sample REPO: https://github.com/app-generator/django-plotly-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 a ` 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 implementation for beginners
29+ - The information is computed on the server side using ` Plotly `
30+
31+ ![ Django - Simple Charts] ( https://user-images.githubusercontent.com/51070104/234304017-97178893-880c-495b-af73-e1c789a9b6b2.png )
File renamed without changes.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Django - API and Chart.JS
3+ description : Learn how to show-case charts with Django & Chart.JS
4+ ---
5+
6+ import SubHeading from " @site/src/components/SubHeading" ;
7+
8+ <SubHeading color = " #25c2a0" >Learn how to show-case charts with Django & Chart.JS</SubHeading >
9+
10+ > Input:
11+
12+ - Sample REPO: https://github.com/app-generator/django-api-and-chart-js
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 a ` 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 implementation for beginners
29+ - The information is served via an API using [ API Generator] ( https://github.com/app-generator/django-api-generator ) Library
30+ - Charts are rendered via https://www.chartjs.org/
31+
32+ ![ Django - Simple Charts] ( https://user-images.githubusercontent.com/51070104/234304017-97178893-880c-495b-af73-e1c789a9b6b2.png )
You can’t perform that action at this time.
0 commit comments