function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 1], ['Biodiversity Data Journal', 4], ['Ferdinand Dümmler', 1], ['Geodiversitas', 2], ['Journal of Natural History', 8], ['Papéis Avulsos de Zoologia', 2], ['PhytoKeys', 2], ['Raffles Bulletin of Zoology', 2], ['Records of the Australian Museum', 2], ['The Biological Bulletin', 1], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 4], ['Zoological studies', 10], ['Zootaxa', 95] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=137)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);