FusionCharts - Gallery Example - Bubble Chart in JavaScript

Created using FusionCharts Suite XT - www.fusioncharts.com

by FusionCharts

HTML

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<!-- A Bubble Chart showing sales analysis of shoes of different brands for Harry's Supermart for last month. -->

<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var conversionChart = new FusionCharts({
    type: 'bubble',
    renderAt: 'chart-container',
    width: '550',
    height: '350',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "theme": "fusion",
        "caption": "Sales Analysis of Shoe Brands",
        "subcaption": "Last Quarter",
        "xAxisMinValue": "0",
        "xAxisMaxValue": "100",
        "yAxisMinValue": "0",
        "yAxisMaxValue": "30000",
        "xAxisName": "Average Price",
        "yAxisName": "Units Sold",
        "numDivlines": "2",
        "showcanvasborder": "0",
        "showValues": "1",
        "showTrendlineLabels": "0",
        "plotTooltext": "$name : Profit Contribution - $zvalue%",
        "drawQuadrant": "1",
        "quadrantXVal": "54",
        "quadrantYVal": "12000",
        "quadrantLineAlpha": "50",
        "quadrantLineThickness": "2"
      },
      "categories": [{
        "category": [{
          "label": "0",
          "x": "0"
        }, {
          "label": "$20",
          "x": "20",
          "showverticalline": "1"
        }, {
          "label": "$40",
          "x": "40",
          "showverticalline": "1"
        }, {
          "label": "$60",
          "x": "60",
          "showverticalline": "1"
        }, {
          "label": "$80",
          "x": "80",
          "showverticalline": "1"
        }, {
          "label": "$100",
          "x": "100",
          "showverticalline": "1"
        }]
      }],
      "dataset": [{
        "color": "#00aee4",
        "data": [{
          "x": "80",
          "y": "15000",
          "z": "24",
          "name": "Nike"
        }, {
          "x": "60",
          "y": "18500",
          "z": "26",
          "name": "Adidas"
        }, {
          "x": "50",
          "y": "19450",
          "z": "19",
          "name": "Puma"
        }, {
          "x": "65",
          "y": "10500",
          "z": "8",
          "name": "Fila"
        }, {
          "x": "43",
       ...