function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 12], ['Arthropod Systematics & amp; Phylogeny', 2], ['Biodiversity Data Journal', 4], ['Bulletin of the American Museum of Natural History', 1], ['Insects of Guam II', 3], ['Journal of Asia-Pacific Entomology', 1], ['Linzer biologische Beiträge', 1], ['ZooKeys', 1], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=49)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);