function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 3], ['Bulletin of the American Museum of Natural History', 5], ['Check List', 5], ['Copeia', 16], ['Current Herpetology', 12], ['Fossil Record', 6], ['Geodiversitas', 15], ['Joan Thomae', 5], ['Journal of Natural History', 6], ['Palaeontologia Electronica', 8], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 8], ['ZooKeys', 8], ['Zoological Journal of the Linnean Society', 37], ['Zoological Science', 5], ['Zootaxa', 189], ['Other (27)', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=367)', 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);