function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Ber Verh K Preuss Akad Berl', 1], ['European Journal of Taxonomy', 1], ['Evolutionary Systematics', 5], ['Journal R Microsc Soc', 1], ['Journal of Natural History', 7], ['Polar biology', 1], ['Raffles Bulletin of Zoology', 6], ['Trans R Soc Edinburgh', 1], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 6], ['Zoologischer Anzeiger', 3], ['Zoosystema', 1], ['Zoosystematics and Evolution', 1], ['Zootaxa', 159] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=197)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);