function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 4], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Carolum Reichard', 1], ['Fragmenta Faunistica', 2], ['Insects of Guam II', 1], ['Linzer biologische Beiträge', 39], ['Pacific Insects', 1], ['Russian Entomological Journal', 1], ['Zoosystema', 2], ['Zootaxa', 76] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=128)', 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);