FusionCharts - DragNode 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>
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var railwayChart = new FusionCharts({
    type: 'dragnode',
    id: 'subwaymap',
    renderAt: 'chart-container',
    width: '800',
    height: '600',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "caption": "US Subway Map",
        "is3d": "0",
        "showformbtn": "1",
        "formaction": "resources/php/chart-guide-drag-node-chart-introduction-update.php",
        "formtarget": "_blank",
        "formmethod": "POST",
        "formbtntitle": "Save",
        "viewmode": "0",
        "showplotborder": "1",
        "plotborderthickness": "4",
        "theme": "fusion",
        "showcanvasborder": "1",
        "canvasborderalpha": "20",
        "animation": "0",
        "viewMode": "0"
      },
      "dataset": [{
        "data": [{
          "id": "01",
          "label": "Santa Monica",
          "color": "#ffffff",
          "x": "16",
          "y": "54",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "02",
          "label": "Los Angeles",
          "color": "#ffffff",
          "x": "27",
          "y": "54",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "03",
          "label": "Ontario",
          "color": "#ffffff",
          "x": "48",
          "y": "54",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "04",
          "label": "Phoenix",
          "color": "#ffffff",
          "x": "85",
          "y": "54",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "05",
          "label": "Flagstaff",
          "color": "#ffffff",
          "x": "85",
          "y": "80",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "06",
          "label": "Barstow",
          "color": "#ffffff",
          "x": "62",
          "y": "80",
          "radius": "30",
          "shape": "circle"
        }, {
          "id": "07",
          "label":...