google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Career Role', 'Percentage'],
['Palliative Care Nurse', 30],
['Palliative Care Physician', 25],
['Palliative Care Social Worker', 15],
['Palliative Care Coordinator', 10],
['Palliative Care Researcher', 20]
]);
var options = {
title: 'Palliative Care Career Roles Distribution in the UK',
is3D: true,
pieSliceText: 'percentage',
backgroundColor: 'transparent'
};
var chart = new google.visualization.PieChart(document.getElementById('piechart_3d'));
chart.draw(data, options);
}