JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://canvasjs.com/assets/script/canvasjs.min.js"></script>
<div id="chartContainer" style="height: 300px; width: 100%;">

JavaScript

var chart = new CanvasJS.Chart("chartContainer",
    {
      title:{
        text: "Gaming Consoles Sold in 2012"
      },
       data: [
      {
         type: "pie",
       showInLegend: true,
       dataPoints: [
       {  y: 2610, legendText:"PS 3", indexLabel: "PlayStation 3" },
       {  y: 0, legendText:"Wii", indexLabel: "Wii" },
       {  y: 0, legendText:"Xbox", indexLabel: "Xbox 360" },
       {  y: 0, legendText:"DS" , indexLabel: "Nintendo DS"},
       {  y: 0, legendText:"PSP", indexLabel: "PSP" },
       {  y: 0, legendText:"3DS" , indexLabel: "Nintendo 3DS"},
       {  y: 0, legendText:"Vita" , indexLabel: "PS Vita"}
       ]
     }
     ]
   });

 chart.render();