function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['African invertebrates', 1], ['Backhuys', 1], ['China Agricultural University Press', 6], ['Journal of Natural History', 29], ['Journal of Oman Studies Special Report', 1], ['Journal of the Australian Entomological Society', 1], ['Linzer biologische Beiträge', 12], ['Memoirs of the Entomological Society of Southern Africa', 5], ['ZooKeys', 2], ['Zootaxa', 49] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=109)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);