  type: 'categorized'
          }
        }
      });
    }, 2000);

    setTimeout(function () {
      chart.load({
          json: [
            { id: 1, name: 'abc', visits: 1200 },
            { id: 2, name: 'efg', visits: 900 },
            { id: 3, name: 'pqr', visits: 1150 },
            { id: 4, name: 'xyz', visits: 1020 },
          ],
          keys: {
            x: 'name',
            value: ['visits'],
          }
      });
    }, 3000);

    </script>
  </body>
</html>
