Polar (radar) chart
author(s): Torstein Hønsi
by nwellcome
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
<figure class="highcharts-figure">
<div id="container"></div>
<p class="highcharts-description">
A polar chart showing different series types on a radial axis. Polar
charts, also known as a radar charts, are often used to compare
multivariate data sets. A polar chart in Highcharts is simply a
cartesian chart where the X axis is wrapped around the perimeter. It
can render common cartesian series types like line, column, area or
arearange.
</p>
</figure>
CSS
.highcharts-figure, .highcharts-data-table table {
min-width: 320px;
max-width: 660px;
margin: 1em auto;
}
.highcharts-data-table table {
font-family: Verdana, sans-serif;
border-collapse: collapse;
border: 1px solid #EBEBEB;
margin: 10px auto;
text-align: center;
width: 100%;
max-width: 500px;
}
.highcharts-data-table caption {
padding: 1em 0;
font-size: 1.2em;
color: #555;
}
.highcharts-data-table th {
font-weight: 600;
padding: 0.5em;
}
.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
padding: 0.5em;
}
.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
background: #f8f8f8;
}
.highcharts-data-table tr:hover {
background: #f1f7ff;
}
JavaScript
Highcharts.chart('container', {
chart: {
polar: false,
},
title: {
text: 'Skill Radar Chart'
},
pane: {
startAngle: 0,
endAngle: 360
},
xAxis: {
tickInterval: 1,
min: 0,
max: 13,
distance: 25,
tickmarkPlacement: "on",
labels: {
enabled: true,
format: '{value}'
},
categories: [
"Initial Receipt/Review/Handling",
"Coverage",
"Initial Contact and Follow Up",
"Damage Investigation/Development",
"Inspection",
"Damage Evaluation - ALE",
"Resolution",
"Recovery",
"Inquiry Handling",
"Process/Task Handling",
"Claim Service Values",
"Time/Pending Management",
"File Documentation and Correspondence"
]
},
yAxis: {
min: 0,
max: 4,
tickInterval: 1,
},
plotOptions: {
series: {
pointStart: 0,
pointInterval: 1
},
column: {
pointPadding: 0,
groupPadding: 0
}
},
series: [{
type: 'column',
name: 'Abby',
data: [2.4,2.5,2,3,2,2,2.333333333,2.5,3,2.5,2.25,2.25,3]
},{
type: 'column',
name: 'Bob',
data: [1.71,2.00,2.43,2.00,2.57,2.43,2.57,2.14,3.00,2.29,2.57,2.86,3.29]
}]
});