Basic Flotr Example

HTML

<script src="https://raw.github.com/HumbleSoftware/Flotr2/master/flotr2.min.js"></script>
<link rel="stylesheet" href="https://raw.github.com/HumbleSoftware/Flotr2/master/examples/examples.css">
<div id="example"></div>

CSS

#example {
    width: 340px;
    height: 220px;
}

JavaScript

(function basic(container) {
  var graph;
  // Draw Graph
  graph = Flotr.draw(container, [
    {
      data : [[1,2,3]],
      color : '#ff00ff'
    }
  ], {
    xaxis: {
      minorTickFreq: 4
    },
    bubbles : {
      show : true
    },
    grid: {
      minorVerticalLines: true
    }
  });
})(document.getElementById("example"));