function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales de la Universidad de Chile, Memorias Cientificas y Literarias', 1], ['Australian zoologist', 5], ['Biodiversity Data Journal', 2], ['Bulletin des Sciences par la Société Philomathique de Paris', 1], ['Cybium', 2], ['European Journal of Taxonomy', 31], ['Geodiversitas', 4], ['Journal of Natural History', 2], ['Memoirs of the Queensland Museum', 7], ['Proceedings of the Linnean Society of New South Wales', 4], ['Veit', 3], ['Zoological Journal of the Linnean Society', 3], ['Zoosystematics and Evolution', 2], ['Zootaxa', 185], ['Other (17)', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=270)', 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);