function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Annalen des Naturhistorischen Museums in Wien, Serie A Mineralogie und Petrographie Geologie und Palaeontologie Anthropologie un', 1], ['Archiv für Molluskenkunde', 10], ['Conchbooks', 3], ['Ecologica Montenegrina', 9], ['Journal of Molluscan Studies', 2], ['Journal of Natural History', 6], ['Turkish Journal of Zoology', 1], ['ZooKeys', 12], ['Zoological Journal of the Linnean Society', 7], ['Zoology in the Middle East', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', 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);