function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Bulletin of the American Museum of Natural History', 12], ['Check List', 13], ['Current Herpetology', 3], ['European Journal of Taxonomy', 4], ['Evolutionary Systematics', 3], ['Herpetozoa', 3], ['Journal of Natural History', 4], ['PLoS ONE', 9], ['Vertebrate Zoology', 30], ['ZooKeys', 31], ['Zoological Journal of the Linnean Society', 20], ['Zoosystema', 4], ['Zoosystematics and Evolution', 25], ['Zootaxa', 160], ['Other (16)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=344)', 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);