function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['European Journal of Taxonomy', 16], ['Journal of Natural History', 30], ['Mémoires du Muséum national d\'Histoire naturelle', 6], ['Raffles Bulletin of Zoology', 1], ['ZooKeys', 15], ['Zoological Journal of the Linnean Society', 25], ['Zoosystema', 11], ['Zootaxa', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=173)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);