function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Boletim do Museu Nacional Rio de Janeiro, Zoologia', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Ind. Univ. Studies', 1], ['Memoirs of the Carnegie Museum', 1], ['Neotropical Ichthyology', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the American Philosophical Society', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 1], ['University of Kentucky', 3], ['ZooKeys', 1], ['Zoologischer Anzeiger', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', 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);