function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Malacological Bulletin', 4], ['Biodiversity Data Journal', 14], ['Handbook of the Mammals of the World – Volume 9 Bats', 3], ['Johan Christi. Trappii', 6], ['Johan. Christi. Trappii', 7], ['Journal of Natural History', 3], ['Journal of the Academy of Natural Sciences of Philadelphia', 12], ['Laurentius Salvius', 62], ['Mémoires du Muséum national d\'Histoire naturelle', 166], ['PaleoBios', 3], ['Proceedings of the Zoological Society of London', 3], ['Schultz', 4], ['ZooKeys', 4], ['Zoosystema', 122], ['Zootaxa', 52], ['Other (31)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=507)', 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);