The JavaScript Radar Chart visualizes data in terms of values and angles. It provides options for visual comparison between several quantitative or qualitative aspects of a situation. It supports interactive features such as selection and tooltip.
The JavaScript Radar Chart provides an option to reverse the axis labels and ticks. This swaps the higher and lower ranges of an axis.
Customize the start angle of the chart to rotate it.
Mark data points with built-in shapes such as circles, rectangles, ellipses, vertical lines, horizontal lines, diamonds, triangles, pentagons, crosses, and pluses. In addition to these shapes, use images to make the points more attractive.
Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a data label by its given angle.
Supports different types of series like line, column, spline, range area, scatter, and stacked area.
You can create a wind rose chart with the help of stacked column series in polar and radar charts.
Easily get started with JavaScript Radar Chart by using a few lines of HTML and JS code, as demonstrated below. Also explore our JavaScript Radar Chart Example that shows how to render and configure the chart.
import { Chart, RadarSeries, Category } from '@syncfusion/ej2-charts';
Chart.Inject(RadarSeries, Category);
let chart: Chart = new Chart({
primaryXAxis: {
valueType: 'Category'
},
series:[{
type: 'Radar', drawType: 'Line',
dataSource: [{ x: 'JPN', text: 'Japan', y: 5156, y1: 4849, y2: 4382, y3: 4939 },
{ x: 'DEU', text: 'Germany', y: 3754, y1: 3885, y2: 3365, y3: 3467 },
{ x: 'FRA', text: 'France', y: 2809, y1: 2844, y2: 2420, y3: 2463 },
{ x: 'GBR', text: 'UK', y: 2721, y1: 3002, y2: 2863, y3: 2629 },
{ x: 'BRA', text: 'Brazil', y: 2472, y1: 2456, y2: 1801, y3: 1799 },
{ x: 'RUS', text: 'Russia', y: 2231, y1: 2064, y2: 1366, y3: 1281 },
{ x: 'ITA', text: 'Italy', y: 2131, y1: 2155, y2: 1826, y3: 1851 },
{ x: 'IND', text: 'India', y: 1857, y1: 2034, y2: 2088, y3: 2256 },
{ x: 'CAN', text: 'Canada', y: 1843, y1: 1793, y2: 1553, y3: 1529 }],
xName: 'x', yName: 'y',
},
],
}, '#Chart');
<!DOCTYPE html>
<html>
<head></head>
<body>
<div id="container">
<div id="Chart"></div>
</div>
</body>
</html>
Learn the available options to customize the JavaScript Radar chart.
Explore the JavaScript Radar chart APIs.