JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://www.flotcharts.org/flot/jquery.flot.js"></script>
<script src="https://rawgithub.com/krzysu/flot.tooltip/master/js/jquery.flot.tooltip.js"></script>
<div id="placeholder" style="width:300px;height:300px"></div>

JavaScript

var d2 = [[0, 3], [1, 8], [2, 5], [3, 13]];
var chartData = {data: d2, axis: [[0,"One"],[1,"Two"],[2,"Three"],[3,"Four"]]};

somePlot = $.plot("#placeholder", [ { label: "Rain in Spain", data: chartData.data, bars: { show: true } } ], 
   {
       xaxis: {
           ticks: chartData.axis  
       },
       grid: {
          hoverable: true 
       },
       tooltip: true,
       tooltipOpts: {
           content: function(label, xval, yval, flotItem){
               return "Orders <b>"+yval+"</b> for <span>"+chartData.axis[xval][1]+"</span>"
           },
           shifts: {
             x: -30,
             y: -50
           }
       }
   }
);