<!doctype html>
<html lang="en">
  <head>
    <title></title>
  </head>
  <body>
    <div id="mountNode"></div>
    <script src="https://gw.alipayobjects.com/os/antv/assets/g2/3.0.9/g2.min.js"></script>
    <script>
      var data = {{placeholder}};

      const chart = new G2.Chart({
        container: 'mountNode', // 指定图表容器 ID
        height: data.length * 22, // 指定图表高度
        forceFit: true,
        padding: 'auto',
      });

      // Step 2: 载入数据源
      chart.source(d