function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Christian Friderik Holm', 1], ['J. White', 1], ['Johan. Christi. Trappii', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 1], ['K. K. Hof-naturalien-cabinet', 1], ['Laurentius Salvius', 62], ['Mémoires du Muséum national d\'Histoire naturelle', 3], ['ZooKeys', 1], ['Zoosystema', 1], ['Zootaxa', 12], ['[G. Remondini e fl.]', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=85)', 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);