Table of Contents
| CONTINENT | POPULATION (Million) |
| North America | 515 |
| South America | 373 |
| Asia | 3875 |
| Europe | 727 |
| Africa | 885 |
| Australia | 32 |
{
"chart": {
"caption": "Global Population",
"theme": "fusion",
"formatNumberScale": "0",
"numberSuffix": "M"
},
"colorrange": {
"color": [
{
"minvalue": "0",
"maxvalue": "100",
"code": "#D0DFA3",
"displayValue": "< 100M"
},
{
"minvalue": "100",
"maxvalue": "500",
"code": "#B0BF92",
"displayValue": "100-500M"
},
{
"minvalue": "500",
"maxvalue": "1000",
"code": "#91AF64",
"displayValue": "500M-1B"
},
{
"minvalue": "1000",
"maxvalue": "5000",
"code": "#A9FF8D",
"displayValue": "> 1B"
}
]
},
"data": [
{
"id": "NA",
"value": "515"
},
{
"id": "SA",
"value": "373"
},
{
"id": "AS",
"value": "3875"
},
{
"id": "EU",
"value": "727"
},
{
"id": "AF",
"value": "885"
},
{
"id": "AU",
"value": "32"
}
]
} XML <chart caption="Global Population" theme="fusion" formatnumberscale="0" numbersuffix="M"> <colorrange> <color minvalue="0" maxvalue="100" code="#D0DFA3" displayvalue="< 100M" /> <color minvalue="100" maxvalue="500" code="#B0BF92" displayvalue="100-500M" /> <color minvalue="500" maxvalue="1000" code="#91AF64" displayvalue="500M-1B" /> <color minvalue="1000" maxvalue="5000" code="#A9FF8D" displayvalue="> 1B" /> </colorrange> <set id="NA" value="515" /> <set id="SA" value="373" /> <set id="AS" value="3875" /> <set id="EU" value="727" /> <set id="AF" value="885" /> <set id="AU" value="32" /> </chart>
<head> <title>A Data Driven Map</title> https://fusioncharts/fusioncharts.js https://fusioncharts/themes/fusioncharts.theme.fusion.js </head>
<body> <div id="chart-container">A world map will load here!</div> </body>
FusionCharts.ready(function() {
var populationMap = new FusionCharts({
type: 'maps/world',
renderAt: 'chart-container',
width: '800',
height: '550',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Global Population",
"theme": "fusion",
"formatNumberScale": "0",
"numberSuffix": "M"
},
"colorrange": {
"color": [{
"minvalue": "0",
"maxvalue": "100",
"code": "#D0DFA3",
"displayValue": "< 100M"
}, {
"minvalue": "100",
"maxvalue": "500",
"code": "#B0BF92",
"displayValue": "100-500M"
}, {
"minvalue": "500",
"maxvalue": "1000",
"code": "#91AF64",
"displayValue": "500M-1B"
}, {
"minvalue": "1000",
"maxvalue": "5000",
"code": "#A9FF8D",
"displayValue": "> 1B"
}]
},
"data": [{
"id": "NA",
"value": "515"
}, {
"id": "SA",
"value": "373"
}, {
"id": "AS",
"value": "3875"
}, {
"id": "EU",
"value": "727"
}, {
"id": "AF",
"value": "885"
}, {
"id": "AU",
"value": "32"
}]
}
});
populationMap.render();
}); Here’s our map: To create pie charts and generate statistical data, you’ll find this list of the best…
To implement FusionCharts in a dynamically resizing flexbox layout, ensure that the chart's dimensions are…
At FusionCharts, we believe in empowering developers and businesses with cutting-edge data visualization tools that…
Ever had a data set that seemed more complicated than a Rubik's cube? You’re not…
We’ve all seen them in textbooks or presentations—those overlapping circles that simplify complex information into…
We’re excited to announce the upcoming release of FusionCharts v4.1—a groundbreaking step forward in the…