function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 6], ['African invertebrates', 2], ['Archiv für Molluskenkunde', 2], ['Basteria', 1], ['Beaufortia', 1], ['Journal of the Macological Society of Australia', 1], ['Molluscan Research', 2], ['Mémoires du Muséum National d’Histoire Naturelle', 2], ['Mémoires du Muséum national d\'Histoire naturelle', 3], ['Records of the Australian Museum', 7], ['Sarsia', 2], ['Zoologische Verhandelingen, Leiden', 1], ['Zoosystema', 9], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);