function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the South African Museum', 1], ['Biodiversity Data Journal', 1], ['Deterville', 1], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 77], ['Journal of Species Research', 22], ['Polar Science', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 7], ['Raffles Bulletin of Zoology', 8], ['Records of the Australian Museum', 34], ['Species Diversity', 1], ['ZooKeys', 6], ['Zoosystema', 5], ['Zootaxa', 98] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=263)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);