The article to display dynamic chart in salesforce is not working

The article you have shared to create charts in visualforce page is not working. The apex code in not working properly.

Hi Nitin,

I need some more info on what’s going wrong. Can you provide an error or any other debugging information?

Ian

I had to replace the " with single quotes and escape the single quotes in order to make it work since " are not a valid apex character.