function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Iwanami Shoten', 2], ['Journal of Natural History', 3], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 3], ['Papéis Avulsos de Zoologia', 4], ['Raffles Bulletin of Zoology', 4], ['Records of the Auckland Institute and Museum', 1], ['Revista de la Academia Canaria de Ciencias', 1], ['ZooKeys', 23], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', 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);