function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 3], ['Geodiversitas', 1], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 1], ['Raffles Bulletin of Zoology', 1], ['Revue suisse de Zoologie', 4], ['The Bulletin of the Russian Far East Malacological Society', 1], ['Visaya', 7], ['ZooKeys', 19], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', 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);