		elements: {
					line: {
						tension: 0.0,
					}
				},
				scale: {
					beginAtZero: true,
				}
			}
		};

		window.onload = function() {
			window.myRadar = new Chart(document.getElementById('canvas'), config);
		};

		document.getElementById('randomizeData').addEventListener('click', function() {
			config.data.datasets.forEach(function(dataset) {
				dataset.data = dataset.data.map(function() {
					return randomScalingFactor();
				});

			});

			window.myRadar.update();
		});
	</script>
</body