function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Biodiversity Data Journal', 12], ['Birkhaeuser Verlag', 3], ['Check List', 4], ['Déterville', 1], ['European Journal of Taxonomy', 2], ['Insecta Mundi', 2], ['Papéis Avulsos de Zoologia', 2], ['Records of the Australian Museum', 1], ['Zoological Journal of the Linnean Society', 7], ['Zoosystema', 4], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);