function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Alytes, the International Journal of Batrachology', 1], ['American Museum Novitates', 13], ['Baudouin, Imprimeur du Corps législatif et de l\'Institut national, place du Carrousel, N °. 662, an 6', 1], ['Biodiversity Data Journal', 1], ['Bulletin of the American Museum of Natural History', 4], ['Check List', 3], ['Copeia', 1], ['Current Herpetology', 5], ['Joan Thomae', 4], ['Laurentius Salvius', 18], ['Raffles Bulletin of Zoology', 11], ['ZooKeys', 4], ['Zoological Journal of the Linnean Society', 17], ['Zoological Science', 3], ['Zootaxa', 30], ['Other (13)', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=129)', 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);