function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 1], ['African Invertebrates', 10], ['African invertebrates', 2], ['Ballière', 12], ['Biodiversity Data Journal', 268], ['European Journal of Taxonomy', 31], ['Insecta Mundi', 2], ['International journal of environmental studies', 5], ['Journal of Hymenoptera Research', 8], ['Journal of Natural History', 144], ['Latvijas Entomologs', 31], ['Linzer biologische Beiträge', 11], ['Records of the Zoological Survey of India', 4], ['ZooKeys', 2], ['Zootaxa', 18], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=552)', 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);