function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and magazine of natural history', 1], ['Birkhaeuser Verlag', 2], ['Journal of Natural History', 1], ['Journal of Threatened Taxa', 8], ['Memoirs of Museum Victoria', 46], ['NZOI records', 1], ['Species Diversity', 2], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 39], ['Zootaxa', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=139)', 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);