function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 1], ['Archiv für Molluskenkunde', 1], ['Geologica Carpathica', 1], ['Linzer biologische Beiträge', 3], ['Palaeontographica, Abteilung A-Palaozoologie-Stratigraphie', 1], ['Scientific reports', 1], ['Vestnik Zoologii', 10], ['Zitteliana', 2], ['ZooKeys', 14], ['Zoosystematics and Evolution', 10], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);