Connection map chart - Showing driving time of connected cities

Connected cities showing driving time

keyboard_arrow_leftGo back
Open in JSFiddle
JavaScript
chart= new GeoChart({
    "layers": [
        {
            "name": "Points",
            "type": "items",
            "style": {
                "nodeStyleFunction": function (node) {
                        node.label = node.data.id;
                    },
                "linkStyleFunction": function (link) {
                        link.label = link.data.drivingTime;
                    },
                "node": {
                    "fillColor": "#2fc32f",
                    "lineColor": "#2fc32f",
                    "lineWidth": 1
                },
                "nodeLabel": {
                    "backgroundStyle": {
                        "fillColor": "#eab404"
                    },
                    "textStyle": {
                        "fillColor": "#6f52b8"
                    }
                },
                "linkLabel": {
                    "backgroundStyle": {
                        "fillColor": "#6f52b8"
                    },
                    "textStyle": {
                        "fillColor": "#eab404"
                    }
                }
            }
        }
    ],
    "navigation": {
        "initialLat": 35.04409,
        "initialLng": -90.246213,
        "initialZoom": 4,
        "minZoom": 4
    },
    "container": "demo",
    "data": [
        {
            "url": "\/dvsl\/data\/extra\/driving-time.json",
            "perBoundsData": false
        }
    ],
    "interaction": {
        "resizing": {
            "enabled": false
        }
    }
})
HTML
      <script src="https://cdn.zoomcharts-cloud.com/1/latest/zoomcharts.js"></script>
      <div id="demo"></div>
                  
Data

              
//