Code Example on using JQuery Flot plugin to plot a chart

JQuery flot is a great tool to plot various kinds of charts such as line, bar … etc. Here is a simple PHP tutorial with an example that produces a line chart with the data set from MySQL database in Wordpress application.