function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 6], ['Bulletin of entomological research', 1], ['Comparative Cytogenetics', 1], ['European Journal of Taxonomy', 8], ['Fauna of New Zealand', 4], ['Insecta Mundi', 16], ['Journal of Natural History', 7], ['Revue Zoologique, par la Société Cuvierienne', 1], ['Transactions and proceedings of the New Zealand Institute', 1], ['Transactions of the Linnean Society of London', 1], ['Tropical Zoology', 2], ['ZooKeys', 12], ['Zoosystema', 9], ['Zootaxa', 247] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=316)', 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);