Disclaimer: All opinions are my own
For this post, I’ll be using PostgreSQL, although some of the functions are from standard SQL.
The sum of all the values divided by the number of values
This tutorial will cover, Filling areas on line plots.