function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benham and Leeve', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['C. E. Bohn', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['Fauna Japonica', 1], ['Journal of the Asiatic Society of Bengal, Part II. (Natural History, & c.)', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Raffles Bulletin of Zoology', 2], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 9], ['Zoosystematics and Evolution', 4], ['Zootaxa', 97] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=122)', 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);