Test_32,

Here are your custom results! Enjoy!

The Radar Chart for you

Then this is your Locus of Control results.



anychart.onDocumentReady(function () {
// create bar chart
var chart = anychart.bar();
chart.animation(true);
chart.padding([10, 40, 5, 20]);
chart.title(‘Top 10 Cosmetic Products by Revenue’);
// create bar series with passed data
var series = chart.bar([
[‘Eyeshadows’, ‘249980’],
[‘Eyeliner’, ‘213210’],
[‘Eyebrow pencil’, ‘170670’],
[‘Nail polish’, ‘143760’],
[‘Lipstick’, ‘128000’],
[‘Lip gloss’, ‘110430’],
[‘Mascara’, ‘102610’],
[‘Foundation’, ‘94190’],
[‘Rouge’, ‘80540’],
[‘Powder’, ‘53540’]
]);
// set tooltip settings
series
.tooltip()
.position(‘right’)
.anchor(‘left-center’)
.offsetX(5)
.offsetY(0)
.titleFormat(‘{%X}’)
.format(‘${%Value}’);
// set yAxis labels formatter
chart.yAxis().labels().format(‘{%Value}{groupsSeparator: }’);
// set titles for axises
chart.xAxis().title(‘Products by Revenue’);
chart.yAxis().title(‘Revenue in Dollars’);
chart.interactivity().hoverMode(‘by-x’);
chart.tooltip().positionMode(‘point’);
// set scale minimum
chart.yScale().minimum(0);
// set container id for the chart
chart.container(‘container’);
// initiate chart drawing
chart.draw();
});