function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 1], ['Arquivos entomolóxicos', 1], ['Crevot', 1], ['Entomo Helvetica', 1], ['Far Eastern Entomologist', 5], ['Insect Systematics and Diversity', 1], ['Insecta Mundi', 2], ['Polskie Pismo Entomologiczne [Polish Journal of Entomology]', 3], ['Studies and reports of District Museum Prague-East, Taxonomical Series', 4], ['The Coleopterists Bulletin', 2], ['ZooKeys', 3], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=39)', 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);