function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Bulletin Inst. Oceanogr. Fish.', 1], ['Bulletin of the American Museum of Natural History', 1], ['Colonial Museum and Geological Survey Department', 1], ['European Journal of Taxonomy', 3], ['F. Schoell', 1], ['Journal of Natural History', 2], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Records of the Australian Museum', 2], ['Revista de Biologia Marina.', 1], ['Salviucci', 1], ['Whittaker', 1], ['Zootaxa', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', 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);