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
244
58
1 month ago 00:04:00 1
Georgia on My Mind // Joscho Stephan Trio [STUDIO CLIP]
1 month ago 00:08:18 1
Изучаем Python ООП и ничего не понимаем. А если так?
1 month ago 00:00:20 1
this is when you should appreciate abstraction in coding#coding #programming #javascript #python
1 month ago 00:08:04 1
ВЕТЕРАНЫ УЖЕ НЕ ТЕ! Дауд VS Джанго Слащинин VS Данилов: ЖУТКИЕ НОКАУТЫ
1 month ago 00:03:52 1
Джанго - Была не была
1 month ago 03:39:43 1
Полный курс Sqlite - работа с базами данных SQL для новичков
1 month ago 02:42:53 1
Shonen Jump’s One Piece 4K 60FPS Full Game | Longplay GBA
1 month ago 00:00:17 1
Design vs user experience #coding #programming #javascript #python