function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Biodiversity Data Journal', 1], ['China Agricultural University Press', 8], ['Journal Aust Ent Soc', 3], ['Konytû', 1], ['Linzer biologische Beiträge', 1], ['Memoirs of the Entomological Society of Southern Africa', 1], ['Steenstrupia', 2], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);