function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 9], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 1], ['Contributions to Natural History', 1], ['Megataxa', 3], ['Pacific insects monograph', 2], ['Revue suisse de Zoologie', 1], ['The Journal of the Linnean Society of London, Zoology', 1], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 6], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);