JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://www.gstatic.com/charts/loader.js"></script>
<script src="https://axibase.com/atsd/atsdClient.bundle.js"></script>
<div id="chart_div"></div>

JavaScript

google.charts.load('visualization', {
            'packages': ['treemap']
        });
        google.charts.setOnLoadCallback(drawChart);

        function drawChart() {
            var startTime = Date.now() - 2 * 3600 * 1000,
                endTime = Date.now();

            var postData = [{
                startTime: startTime,
                endTime: endTime,
                entity: "nurswgvml007",
                metric: "cpu_busy",
                aggregate: {
                    types: ["AVG"],
                    period: {
                        count: 1,
                        unit: "HOUR"
                    }
                }
            }, {
                startTime: startTime,
                endTime: endTime,
                entity: "nurswgvml006",
                metric: "cpu_busy",
                aggregate: {
                    types: ["AVG"],
                    period: {
                        count: 1,
                        unit: "HOUR"
                    }
                }
            }, {
                startTime: startTime,
                endTime: endTime,
                entity: "nurswgvml003",
                metric: "cpu_busy",
                aggregate: {
                    types: ["AVG"],
                    period: {
                        count: 1,
                        unit: "HOUR"
                    }
                }
            }, {
                startTime: startTime,
                endTime: endTime,
                entity: "nurswgvml102",
                metric: "cpu_busy",
                aggregate: {
                    types: ["AVG"],
                    period: {
                        count: 1,
                        unit: "HOUR"
                    }
                }
            }, {
                startTime: startTime,
                endTime: endTime,
                entity: "nurswgvml011",
                metric: "cpu_busy",
                aggregate: {
                    types: ["AVG"],
   ...