function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['Annals of the Queensland Museum', 2], ['Biodiversity Data Journal', 2], ['Bulletin of Marine Science', 3], ['Central News Agency, Ltd.', 2], ['Check List', 2], ['Copeia', 4], ['Journal of Natural History', 3], ['Natuurkundige Verhandelingen van de Hollandsche Maatschappij der Wetenschappen te Haarlem, Series 2', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Proceedings of the Biological Society of Washington', 2], ['Proceedings of the United States National Museum, 3', 3], ['Records of the Western Australian Museum', 2], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 2], ['Zootaxa', 20], ['Other (27)', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', 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);