Created the graph for "how long the bugs remain open"

Hi,
      I have created a pie chart for the "how long the bugs remain open". Please do have a look. 

Looking forward to your feedback.
Thank You.
line 105 and 108 have function definitions at different indentation levels, please make them the same at a 4 space indentation