function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Annals of the Lyceum of Natural History of New York', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 5], ['Journal of Species Research', 8], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['Smithsonian Contributions to Zoology', 1], ['ZooKeys', 4], ['Zoological Journal of the Linnean Society', 7], ['Zoosystematics and Evolution', 1], ['Zootaxa', 36] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=68)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);