function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annali del Museo Civico di Storia Naturale di Genova', 1], ['Anzeiger', 1], ['Biodiversity Data Journal', 1], ['Bulletin Jinan Univ., Nat. Sci. Ed.', 1], ['Bulletin Zool. Surv. India', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the Raffles Museum', 2], ['Check List', 1], ['Copeia', 1], ['Ha Noi, Scientific & Technology', 3], ['Ichthyological Exploration of Freshwaters', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indiƫ', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Sinensia', 2], ['Zootaxa', 11], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=39)', 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);