function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Biodiversity Data Journal', 11], ['Check List', 4], ['Copeia', 5], ['Current Herpetology', 5], ['Herpetozoa', 2], ['Japanese Journal of Herpetology', 1], ['Journal of Natural History', 14], ['PeerJ', 3], ['Raffles Bulletin of Zoology', 2], ['Records of the Zoological Survey of India', 8], ['Revue suisse de Zoologie', 3], ['ZooKeys', 43], ['Zoological Science', 5], ['Zootaxa', 139], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=250)', 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);