JavaScript
FusionCharts.ready(function() {
var populationMap = new FusionCharts({
type: 'maps/poland',
renderAt: 'chart-container',
width: '700',
height: '500',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "",
"subcaption": "",
"theme": "fusion",
"formatNumberScale": "0",
"showLabels": "1",
"nullEntityColor": "#C2C2D6",
"nullEntityAlpha": "50",
"hoverOnNull": "0",
"useSNameInLabels": "0",
"entityFillColor": "#A8A8A8",
"entityFillHoverColor": "#E5E5E9"
},
"colorrange": {
"startlabel": "Low",
"endlabel": "High",
"code": "#c2e9ff",
"minvalue": "0",
"gradient": "1",
"color": [{
"maxvalue": "50",
"displayvalue": "",
"code": "#5ea2c9"
},
{
"maxvalue": "100",
"code": "#2c7dab"
}
]
},
"data": [
{
"id": "74",
"value": "97.1",
"showLabel": "1",
},
{
"id": "72",
"value": "47",
"showLabel": "1",
},
{
"id": "73",
"value": "88.5",
"showLabel": "1",
},
{
"id": "75",
"value": "87.2",
"showLabel": "1",
},
{
"id": "76",
"value": "8.32",
"showLabel": "1",
},
{
"id": "77",
"value": "8.32",
"showLabel": "1",
},
{
"id": "78",
"value": "8.32",
"showLabel": "1",
},
{
"id": "79",
"value": "8.32",
"showLabel": "1",
},
{
"id": "80",
"value": "8.32",
"showLabel": "1",
},
{
"id": "81",
"value": "8.32",
"showLabel": "1",
},
{
"id": "82",
...