function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 4], ['Anzeiger', 3], ['Biodiversity Data Journal', 3], ['Bronner', 2], ['Check List', 2], ['European Journal of Taxonomy', 7], ['Journal of Natural History', 3], ['Memoirs of the Carnegie Museum', 2], ['Privately published', 11], ['Proceedings of the Linnean Society of New South Wales', 7], ['Proceedings of the United States National Museum, 3', 4], ['Proceedings of the Zoological Society of London, B', 4], ['Report of the British Association for the Advancement of Science', 2], ['Schmerber', 3], ['Zootaxa', 40], ['Other (23)', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=121)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);