The Google Chart API lets you dynamically generate charts with a URL string and embed these charts on a web page, or download the image for local or offline use. The Google Chart Tools enable adding live charts to any web page. They provide advantages such as a rich gallery of visualizations provided as image charts and interactive charts and they can read live data from a variety of data sources.
Users embed the data and formatting parameters in an HTTP request, and Google returns a PNG image of the chart. Many types of chart are supported, and by making the request into an image tag the chart can be included in a web page.
Click the "Track this API" button on any profile page and never miss an API update, new app, or breaking news for that API again.
<a href="http://lifeisfine.ru/2010/04/google-chart-api-mysql-php/">Code generator </a>