function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alpine Entomology', 11], ['Bishop Museum Bulletin in Entomology', 18], ['Bulletin of the American Museum of Natural History', 76], ['European Journal of Taxonomy', 27], ['Far Eastern Entomologist', 197], ['Journal of Natural History', 167], ['Linzer biologische Beiträge', 24], ['Proceedings of the Hawaiian Entomological Society', 18], ['Proceedings of the Japanese Society of Systematic Zoology', 21], ['Raffles Bulletin of Zoology', 35], ['Records of the Australian Museum', 18], ['ZooKeys', 68], ['Zoological Journal of the Linnean Society', 46], ['Zoological Science', 15], ['Zootaxa', 1157], ['Other (47)', 152] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2050)', 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);