function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 10], ['African Invertebrates', 22], ['Biodiversity Data Journal', 16], ['European Journal of Taxonomy', 10], ['Insecta Mundi', 125], ['Journal of Natural History', 66], ['Linzer biologische Beiträge', 99], ['Proceedings of the Hawaiian Entomological Society', 82], ['Raffles Bulletin of Zoology', 53], ['Records of the Canterbury Museum', 16], ['Smithsonian Miscellaneous Collections', 18], ['Vestnik Zoologii', 62], ['ZooKeys', 115], ['Zoodiversity', 171], ['Zootaxa', 1171], ['Other (25)', 63] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2099)', 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);