function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 21], ['Beiträge Zur Entomologie = Contributions to Entomology', 10], ['Far Eastern Entomologist', 5], ['Fauna of New Zealand', 23], ['Insecta Mundi', 44], ['Journal of Natural History', 104], ['New Zealand journal of science', 38], ['Proceedings of the Linnean Society of New South Wales', 46], ['Revista Chilena de Entomologia', 5], ['Smithsonian Contributions to Zoology', 20], ['Touka Shobo', 15], ['Transactions and proceedings of the New Zealand Institute', 15], ['ZooKeys', 33], ['Zoological Systematics', 15], ['Zootaxa', 827], ['Other (28)', 53] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1274)', 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);