Aircraft pie chart?

Hello, does anyone have the code so I can place a pie chart in the pilot centre that shows the pilot the amount of time aircraft flown in percentage.

regards