function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Bishop Museum Occasional Papers', 1], ['Journal of Natural History', 2], ['Journal of the Marine Biological Association of the United Kingdom', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Records of the Australian Museum', 2], ['ZooKeys', 2], ['Zoosystematics and Evolution', 2], ['Zootaxa', 178] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=191)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);