function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 2], ['Australasian Journal of Herpetology', 4], ['Biodiversity Data Journal', 4], ['Bulletin of the American Museum of Natural History', 3], ['Check List', 5], ['Diversity', 2], ['Geodiversitas', 13], ['Laurentius Salvius', 10], ['Magasin Encyclopédique, ou Journal des Sciences, des Lettres et des Arts', 2], ['Palaeontologia Electronica', 2], ['South American Journal of Herpetology', 12], ['Vertebrate Zoology', 9], ['ZooKeys', 12], ['Zoological Journal of the Linnean Society', 7], ['Zootaxa', 17], ['Other (6)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=111)', 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);