Dynamic chart from MySQL

How can I load a chart from MySQL and have this refresh, say every minute. The database will return any new data points since the last request? Thanks!

Chart data can be loaded from xml, json and csv. You may use server-side script to generate the xml for example. Here is the sample of xml loading:


To reload chart you may the following: