Is there a way to change/create a widget to return % completed for individual projects?

Is there a way to change/create a widget to return % completed for individual projects?

I need to see % of task completed as a whole on my projects rather than number of task. How can I accomplish this?