JSFiddle - React, Tailwind, and code Playground
by Andrey Izman
HTML
<div id="container"></div>
CSS
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
JavaScript
/**
* AnyChart is lightweight robust charting library with great API and Docs, that works with your stack and has tons of chart types and features.
*
* Modules: ui
* Version: 8.6.0.1927 (2019-05-15)
* License: https://www.anychart.com/buy/
* Contact: [email protected]
* Copyright: AnyChart.com 2019. All rights reserved.
*/
(function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){var wrapper=function(w){if(!w.document){throw Error('AnyChart requires a window with a document');}factory.call(w,w,w.document);try{w.acgraph.isNodeJS=Object.prototype.toString.call(global.process)=="[object process]";}catch(e){};return w.anychart;};module.exports=global.document?wrapper(global):wrapper;}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document,opt_noGlobal){var $,_,$_=this.anychart;if($_&&(_=$_._)){$=$_.$}else{throw Error('anychart-base.min.js module should be included first. See modules explanation at https://docs.anychart.com/Quick_Start/Modules for details');$={};_={}}if(!_.ui){_.ui=1;(function($){var L7=function(a,b){a.$&&a.$.D&&($.Fc(a.$.D,a.Ld),$.Gc(a.$.D,b,a));a.Ld=b},Sja=function(a,b){a.Jh=b},M7=function(a){null==a.Za&&(a.Za=$.qf(a.gf?a.ld:a.f.b.body));return a.Za},N7=function(a,b){return new $.gb(a.x-b.x,a.y-b.y)},Tja=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},O7=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&
16);for(;b&&a!=b;)b=b.parentNode;return b==a},P7=function(a){return $.ad&&!$.Vc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")},Q7=function(a){a=a.tabIndex;return $.ea(a)&&0<=a&&32768>a},Uja=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},Vja=function(a){if($.ad&&!$.Yc(8))return a.offsetParent;var...