Useful links:
https://www.chartjs.org/
About this video:
One more chart, this time line chart looking at change over years. Let's start with the backend!
Video Content:
00:00 Intro
01:28 Create new view for new chart
02:23 Use GET arguments passed into url
05:03 Prepare data based on GET arguments
07:24 Get list of distinct years from pollutant entries
10:26 Prepare visuals_data to store aggregated data
12:17 Choose and prepare data for a line chart
14:51 Start aggregating max / min / avg data for each country
16:23 Passing by reference in Python
17:58 Aggregate max / min or avg values
22:44 Check in debugger aggregated data
About this tutorial:
The primary goal of this tutorial is to take you through the steps of creating a solid Django portfolio project that will stand out when you talk to your future employer.
Check out tutorial's intro to see if it's something for you:
• 01 - Introduction to the course - Django -...
Tutorial repo:
https://github.com/SugarloafAndACupOf...
Please hit SUBSCRIBE if you wanna get the notifications about the new content!
Also, like the hell out of this video if you find it useful/interesting!
Follow us on Facebook: / sugarloaf-and-a-cup-of-joe-101638761829670
and Instagram: / sugarloaf_and_a_cup_of_joe