Glad to head you liked the article!
The code in the article are bits and pieces from my own dashboard. Unfortunately I never put a “working example” of the code in one place.
If you follow the article you should be fine. If you have any questions feel free to ask :).