function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['American Museum Novitates', 1], ['Annals of the Queensland Museum', 3], ['Anzeiger', 1], ['Aqua, Journal of Ichthyology and Aquatic Biology', 1], ['Australian zoologist', 1], ['Check List', 1], ['Copeia', 1], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien', 1], ['European Journal of Taxonomy', 1], ['Government Printer', 3], ['Proceedings of the Linnean Society of New South Wales', 3], ['Records of the Western Australian Museum', 2], ['The Beagle. Records of the Museums and Art Galleries of the Northern Territory', 2], ['Zootaxa', 16], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);