These graphs can be generated by using the just released Google Chart API.
They are currently offering support for line charts, bar charts, pie charts, scatter plots, and sparklines.
Google Chart API was originally developed by the codes in the company for internal usage. These graphs are generated on their services like Google Video and Google Finance.
Now, regular web users can use the same technology to create graphs for personal use.