function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 10], ['Cainozoic Research', 1], ['European Journal of Taxonomy', 23], ['Raffles Bulletin of Zoology', 5], ['Species Diversity', 2], ['ZooKeys', 13], ['Zoological Journal of the Linnean Society', 1], ['Zoological Science', 1], ['Zootaxa', 50] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=107)', 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);