t;canvas id=&quot;doughnutChart&quot;&gt;&lt;/canvas&gt;
	&lt;/div&gt;
</code>
</pre>
<pre class="language-markup">
<code class="language-javascript">
	var doughnutChart = document.getElementById('doughnutChart').getContext('2d');

var myDoughnutChart = new Chart(doughnutChart, {
	type: 'doughnut',
	data: {
		datasets: [{
			data: [10, 20, 30],
			backgroundColor: ['#f3545d','#fdaf4b','#1d7af3']
		}],

		labels: [
		'Red',
		'Yellow',
		'Blue'
		]
	},
	options: {
		responsive: true, 
		maintainAspectRatio: 