function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Journal of Zoology', 4], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 3], ['Canadian Journal of Zoology', 5], ['Crustaceana', 2], ['Fauna of New Zealand', 10], ['Journal of Crustacean Biology', 2], ['Journal of Natural History', 19], ['Philippine Journal of Science, Section D', 2], ['Publications in Biological Oceanography', 6], ['Records of the Australian Museum', 25], ['Records of the Australian Museum Supplement', 7], ['Species Diversity', 9], ['ZooKeys', 8], ['Zoosystematics and Evolution', 23], ['Zootaxa', 246], ['Other (21)', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=394)', 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);