function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 1], ['Arthropoda Selecta', 2], ['Biodiversity Data Journal', 1], ['Far Eastern Entomologist', 4], ['Raffles Bulletin of Zoology', 3], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 4], ['UPLB Museum Publications in Natural History', 1], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=24)', 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);