function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 1], ['Biblioteca de Clasicos Cubanos', 1], ['Check List', 1], ['Mémoires Institut d’Egypt', 1], ['Pacific Science', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Proceedings of the Zoological Society of London, B', 2], ['Records of the Zoological Survey of India', 1], ['Sci. Reports, John Murray Exped.', 1], ['Uo [Japanese Society of Ichthyology]', 3], ['Zootaxa', 14], ['l\'Impremerie Nationale', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);