function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['African Zoology', 1], ['Ber Verh K Preuss Akad Berl', 1], ['European Journal of Taxonomy', 1], ['Evolutionary Systematics', 7], ['Journal R Microsc Soc', 1], ['Journal of Natural History', 15], ['Polar biology', 1], ['Raffles Bulletin of Zoology', 10], ['Trans R Soc Edinburgh', 1], ['ZooKeys', 4], ['Zoological Journal of the Linnean Society', 12], ['Zoologischer Anzeiger', 7], ['Zoosystematics and Evolution', 6], ['Zootaxa', 241], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=311)', 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);