• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft Demo</title>
      <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
      <style>
        .chart--container {
          min-height: 530px;
          width: 100%;
          height: 100%;
        }
    
        .zc-ref {
          display: none;
        }
      </style>
    </head>
    
    <body>
      <div id="myChart" class="chart--container">
        <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
      </div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        let chartData = [{
            text: 'Major donors',
            values: [35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'New mixed giver',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'New COG',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Active mixed giver',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Active COG',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'New cash',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Lapsing COG active cash',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Lapsing COG',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Active cash',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Active action',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Lapsed COG',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Lapsed cash',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Lapsed action',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Emailable',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'Other',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
          },
          {
            text: 'New contact',
            values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 89],
          },
        ];
    
        let chartConfig = {
          type: 'chord',
          options: {
            hoverEffect: 2,
            anglePadding: 1,
            colorType: 'palette',
            palette: [
              '#F44336',
              '#E91E63',
              '#9C27B0',
              '#673AB7',
              '#3F51B5',
              '#2196F3',
              '#03A9F4',
              '#00BCD4',
              '#009688',
              '#4CAF50',
              '#8BC34A',
              '#CDDC39',
              '#FFEB3B',
              '#FFC107',
              '#FF9800',
              '#FF5722',
            ],
            style: {
              label: {
                visible: false,
              },
            },
          },
          series: chartData,
        };
    
        zingchart.render({
          id: 'myChart',
          data: chartConfig,
          height: '100%',
          width: '100%',
        });
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft Demo</title>
      <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    </head>
    
    <body>
      <div id="myChart" class="chart--container">
        <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a>
      </div>
    </body>
    
    </html>
    .chart--container {
      min-height: 530px;
      width: 100%;
      height: 100%;
    }
    
    .zc-ref {
      display: none;
    }
    let chartData = [{
        text: 'Major donors',
        values: [35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'New mixed giver',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'New COG',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Active mixed giver',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Active COG',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'New cash',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Lapsing COG active cash',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Lapsing COG',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Active cash',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Active action',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Lapsed COG',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Lapsed cash',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Lapsed action',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Emailable',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'Other',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 0],
      },
      {
        text: 'New contact',
        values: [28, 40, 39, 36, 35, 42, 67, 89, 35, 42, 67, 89, 35, 42, 67, 89],
      },
    ];
    
    let chartConfig = {
      type: 'chord',
      options: {
        hoverEffect: 2,
        anglePadding: 1,
        colorType: 'palette',
        palette: [
          '#F44336',
          '#E91E63',
          '#9C27B0',
          '#673AB7',
          '#3F51B5',
          '#2196F3',
          '#03A9F4',
          '#00BCD4',
          '#009688',
          '#4CAF50',
          '#8BC34A',
          '#CDDC39',
          '#FFEB3B',
          '#FFC107',
          '#FF9800',
          '#FF5722',
        ],
        style: {
          label: {
            visible: false,
          },
        },
      },
      series: chartData,
    };
    
    zingchart.render({
      id: 'myChart',
      data: chartConfig,
      height: '100%',
      width: '100%',
    });