function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 12], ['African Invertebrates', 2], ['Alpine Entomology', 3], ['Australian Journal of Entomology', 1], ['European Journal of Taxonomy', 8], ['Fragmenta Faunistica', 11], ['Insecta Mundi', 24], ['Invertebrate Taxonomy', 5], ['Journal of Natural History', 12], ['Journal of the Australian Entomological Society', 10], ['Proceedings of the Linnean Society of New South Wales', 7], ['Transactions and proceedings of the New Zealand Institute', 3], ['ZooKeys', 5], ['Zoosystema', 8], ['Zootaxa', 130], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=245)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);