function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 48], ['African Invertebrates', 26], ['European Journal of Taxonomy', 4], ['Journal of Natural History', 10], ['Journal of Species Research', 1], ['Laurentius Salvius', 3], ['Public Library of Science, ONE', 1], ['Records of the Zoological Survey of India', 1], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 11], ['Zoosystema', 87], ['Zootaxa', 786], ['de l\'Autuer', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=984)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);