JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html><html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Legend</title>
<style>
html {
	margin: 0px;
}
body {
	margin: 20px 30px;
}
#realchart {
	width: 850px;
	height: 550px;
    border: 1px solid lightgray;
    margin-bottom: 20px;
}
</style>
<link href="https://unpkg.com/realchart/realchart-style.css" rel="stylesheet" crossorigin="anonymous">
<script type="text/javascript" src="https://unpkg.com/realchart/index"></script>
<script type="text/javascript">
	window.addEventListener('DOMContentLoaded', function () {
		try {
			init();
		} catch (err) {
			alert(err);
			console.error(err);
		}
	});	
	
</script>

  <script>
    var realChartLic = 'upVcPE+wPOkOR/egW8JuxkM/nBOseBrflwxYpzGZyYkhw7qfHRQ+GiF0lY62mJi5KBwoSJHOA48O5+/xJSE3LhLB4LkQ8rWX0QeIbtyyIEGTFVqWmNPdyQ==';
  </script>
</head>
<body>
	<div id="realchart"></div>
	

		 </body></html>

JavaScript

const config = {
  title: 'Legends',
  xAxis: {
    title: '일일 Daily fat',
    categories: ['쓰리엠', '아디다스', '디즈니', '이마트', '메리어트', '시세이도'],
    grid: true
  },
  yAxis: {
    title: 'Vertical 수직축 Axis'
  },
  series: [{
    name: 'column1',
    pointLabel: true,
    data: [11, 22, 15, 9, 13, 27]
  }, {
    name: 'column2',
    pointLabel: true,
    data: [15, 19, 19, 6, 21, 21]
  }, {
    name: 'line1',
    type: 'line',
    pointLabel: true,
    data: [13, 17, 15, 11, 23, 17]
  }, {
    name: 'line2',
    type: 'line',
    pointLabel: true,
    data: [15, 19, 13, 15, 20, 15]
  }],
  legend: {
    location: 'right',
    alignBase: 'chart',
    verticalAlign: 'top'
  }
};
let animate = false;
let chart;
function init() {
  chart = RealChart.createChart(document, 'realchart', config);
}