Not my idea. Credit goes to the original creator. I made a slight changes to existing script and I learnt so much about scriptable. Looking forward to create more!
This widget shows how many percentage left in a day, week, month and year
Snippet at github gist - https://gist.github.com/thethtun/2aa03f0b09fa37b2d5756038cd626607