function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin International de L’Académie des Sciences de Cracovie, Classe des sciences mathématiques et naturelles', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Hornmilben (Oribatida) [Dahl, Tierwelt Deutschlands, Teil 76]', 4], ['Journal of Natural History', 2], ['Persian Journal of Acarology', 1], ['Zootaxa', 12], ['carolinea', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);