function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States Bureau of Fisheries', 1], ['Crustaceana', 1], ['Mémoires du Muséum National d’Histoire Naturelle', 13], ['Mémoires du Muséum National d’Histoire Naturelle, Série A, Zoologie', 1], ['New Zealand journal of zoology', 1], ['Proceedings of the United States National Museum', 2], ['Ray Society', 1], ['Records of the oceanographic works in Japan', 1], ['Videnskabelige Meddelelser fra Dansk Naturhistoriske Forening i Kjøbenhavn', 1], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 4], ['Zoosystema', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);