function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Japanese Journal of Zoology', 2], ['Journal of Parasitology', 2], ['Oefvers. K. Vetensk. - Akad. Förh.', 1], ['Philippine Journal of Science', 1], ['Proceedings of the United States National Museum, 3', 1], ['University of Nebraska Studies', 1], ['ZooKeys', 2], ['Zoodiversity', 1], ['Zoopathologica', 4], ['Zootaxa', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);