function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annotationes Zoologicae Japonenses', 1], ['Comptes Rendus Hebdomadaires des Séances de l\'Académie des Sciences', 1], ['European Journal of Taxonomy', 91], ['International review of hydrobiology', 1], ['Journal of Natural History', 26], ['Memoirs of the Museum of Victoria', 1], ['Opuscula Zoologica, Budapest', 1], ['Soil Organisms', 1], ['Species Diversity', 5], ['ZooKeys', 30], ['Zoological Journal of the Linnean Society', 24], ['Zoological Science', 1], ['Zoosystema', 4], ['Zootaxa', 172] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=359)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);