function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Koenig', 1], ['Biodiversity Data Journal', 26], ['Check List', 15], ['Déterville', 2], ['European Journal of Taxonomy', 1], ['Geodiversitas', 1], ['H. L. Brönner', 1], ['Ibis', 1], ['Laurentius Salvius', 18], ['London', 2], ['Papéis Avulsos de Zoologia', 32], ['Records of the Australian Museum', 12], ['ZooKeys', 3], ['Zoosystema', 10], ['Zootaxa', 53], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=188)', 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);