function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 10], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 1], ['Annals of the Carnegie Museum', 1], ['Anzeiger', 1], ['Bollettino della Società Entomologica Italiana', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Check List', 16], ['European Journal of Taxonomy', 1], ['Ichthyological Research', 2], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Memoirs of the Queensland Museum', 2], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Records of the Zoological Survey of India', 2], ['Science Report of the Yokosuka City Museum', 2], ['Zootaxa', 54], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=103)', 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);