JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js"></script>
<div class="panel panel-default">
 <div class="panel-heading">
  <i class="fa fa-bar-chart-o fa-fw"></i> Account Registrations Past 7 days
 </div>
 <!-- /.panel-heading -->
 <div class="panel-body">
  <div id="acctregs" style="height: 300px;"></div>
 </div>
 <!-- /.panel-body -->
</div>

JavaScript

var acct_regs = [
        {date:"2015-01-18", y:0},
        {date:"2015-01-17", y:1},
        {date:"2015-01-16", y:2},
        {date:"2015-01-15", y:3},
        {date:"2015-01-14", y:4},
        {date:"2015-01-13", y:5}
        ];
                var acctregs = new Morris.Line({
                    // ID of the element in which to draw the chart.
                    element: 'acctregs',
                    // Chart data records -- each entry in this array corresponds to a point on
                    // the chart.
                    data: acct_regs,
                    // The name of the data record attribute that contains x-values.
                    xkey: 'date',
                    // A list of names of data record attributes that contain y-values.
                    ykeys: ['y'],
                    // Labels for the ykeys -- will be displayed when you hover over the
                    // chart.
                    labels: ['Value'],
                    dateFormat:function (x) { return new Date(x).toString().split("00:00:00")[0]; }
                });