FusionCharts - Gallery Example - Multi-Series Column 2D Chart
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 salesChart = new FusionCharts({
type: 'maps/usa',
renderAt: 'chart-container',
width: '600',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Harry's SuperMart Distribution Network",
"subcaption": "Average shipping volume (last quarter)",
"captionFontSize": "14",
"subCaptionFontSize": "14",
"theme": "fusion",
"showLabels": "1",
"showMarkerLabels": "0",
"connectorColor": "#90e501",
"connectorThickness": "2",
"formatNumber": "1",
"connectorToolText": "<b>From</b>: $fromLabel <br> <b>To</b>: $toLabel <br> <b>Daily shipments (avg)</b>: $label Units"
},
"markers": {
"shapes": [{
"id": "myCustomShape",
"type": "circle",
"fillcolor": "#f8bd19",
"showborder": "0",
}],
"items": [{
"shapeid": "myCustomShape",
"id": "WA",
"x": "54.5",
"y": "44.8",
"label": "Washington",
"radius": "1"
}, {
"shapeid": "myCustomShape",
"id": "OR",
"x": "58.3",
"y": "101.7",
"radius": "1",
"label": "Oregon"
}, {
"shapeid": "myCustomShape",
"id": "ID",
"x": "132.8",
"y": "110.7",
"radius": "1",
"label": "Idaho"
}, {
"shapeid": "myCustomShape",
"id": "MT",
"x": "188.8",
"y": "45.1",
"radius": "1",
"label": "Montana"
}, {
"shapeid": "myCustomShape",
"id": "WY",
"x": "220",
"y": "121",
"radius": "1",
"label": "Wyoming"
}, {
"shapeid": "myCustomShape",
"id": "AZ",
...