function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 1], ['Australasian Journal of Herpetology', 6], ['Biodiversity Data Journal', 1], ['Biology Letters', 1], ['Crocodilian: Journal of the Victorian Association of Amateur Herpetologists Incorporated', 6], ['Geodiversitas', 4], ['Journal of Herpetology', 5], ['Magasin Encyclopédique, ou Journal des Sciences, des Lettres et des Arts', 1], ['Ophidia Review', 8], ['Proceedings of the California Academy of Sciences', 4], ['Vertebrate Zoology', 11], ['ZooKeys', 89], ['Zoological Journal of the Linnean Society', 3], ['Zoosystema', 2], ['Zootaxa', 9], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=153)', 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);