function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['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], ['Newsletter of the Macarthur Herpetological Society', 1], ['Ophidia Review', 8], ['Proceedings of the California Academy of Sciences', 1], ['Vertebrate Zoology', 11], ['ZooKeys', 88], ['Zoological Journal of the Linnean Society', 3], ['Zoosystema', 2], ['Zootaxa', 9], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=148)', 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);