function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African invertebrates', 1], ['Biodiversity Data Journal', 4], ['Contributions to Zoology', 2], ['European Journal of Taxonomy', 19], ['Fossil Record', 2], ['Journal of Natural History', 86], ['Raffles Bulletin of Zoology', 4], ['Species Diversity', 25], ['The American Journal of Science and Arts, Series 3', 3], ['ZooKeys', 34], ['Zoological Journal of the Linnean Society', 14], ['Zoologischer Anzeiger', 8], ['Zoosystema', 8], ['Zoosystematics and Evolution', 13], ['Zootaxa', 971], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1200)', 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);