Django & Plotly.- Plotly Line Charts / Django Form & Template integration
In this video, we will learn how to create charts using the Plotly package in Python, and will learn how to display these charts in our Django templates.
We’ll create a line-chart from real-life CSV data, using the Plotly Express module, and will create Django forms allowing users to filter between dates and update the chart.
We’ll see how to do basic styling of a Plotly chart, including the chart’s title and axis labels, as well as modifying fonts and positioning.
Starter code is available on Github:
Final code is on the ’linechart’ branch:
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:37 Setup
02:07 Adding Django model
02:58 Loading CSV data to database
06:14 Adding URL and View
06:52 Creating Line Chart with Plotly
10:46 Filtering chart data with Django
1 view
199
43
9 years ago 00:05:12 70
Django Django - Shot Down
12 years ago 00:04:49 113
Django Django - WOR
2 years ago 00:50:08 40
Оптимизация Django. 1 - Django + Docker
12 years ago 00:04:32 21
Django Django WOR
12 years ago 00:03:00 167
Django - Luis Bacalov (Django Unchained Song)
10 years ago 00:03:17 141
Django Django - Beginning to Fade
9 years ago 00:03:30 44
Django Django - Pause Repeat (Official Video)
7 years ago 00:09:07 19
Django Tutorial #6 - Django Models
9 years ago 00:02:35 501
Devinci Django
2 years ago 01:05:29 26
Полный курс по Python Django # Курс программирования Django # Django уроки # 2