FusionCharts - Radar 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>
<!--
Showcased here is a Multi Series Radar chart from the PowerCharts suite.
The chart shows the allocated budget & actual cost in the different verticals of Harry's supermart.
-->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var BudgetChart = new FusionCharts({
type: 'radar',
renderAt: 'chart-container',
width: '600',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Budget Analysis",
"subCaption": "Current month",
"numberPreffix": "$",
"theme": "fusion",
"radarfillcolor": "#ffffff"
},
"categories": [{
"category": [{
"label": "Marketing"
},
{
"label": "Product Management"
},
{
"label": "Customer Service"
},
{
"label": "Human Resources"
},
{
"label": "Sales & Distribution"
}
]
}],
"dataset": [{
"seriesname": "Allocated Budget",
"data": [{
"value": "19000"
},
{
"value": "16500"
},
{
"value": "14300"
},
{
"value": "10000"
},
{
"value": "9800"
}
]
},
{
"seriesname": "Actual Cost",
"data": [{
"value": "6000"
},
{
"value": "9500"
},
{
"value": "11900"
},
{
"value": "8000"
},
{
"value": "9700"
}
]
}
]
}
}).render();
});