function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 1], ['Biodiversity Data Journal', 3], ['Contributions to Natural History', 17], ['European Journal of Taxonomy', 5], ['Geodiversitas', 3], ['Johan. Christi. Trappii', 1], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Visaya', 52], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 7], ['Zootaxa', 51] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=143)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);