function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the Fan Memorial Institute of Biology', 1], ['Journal Hydrobiol.', 1], ['Nouveaux Mémoires de la Société Impériale des Naturalistes de Moscou', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the United States National Museum, 3', 1], ['Raffles Bulletin of Zoology', 1], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1], ['The Journal of the Natural History Society of Siam', 1], ['Verhandlungen der Kaiserlich-Königlichen Zoologisch-Botanischen Gesellschaft in Wien', 4], ['Verslagen en Mededeelingen der Koninklijke Akademie van Wetenschappen. Afdeeling Natuurkunde', 5], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);