function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 13], ['Acarological Studies', 1], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Biologiske Skrifter', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Hornmilben (Oribatida) [Dahl, Tierwelt Deutschlands, Teil 76]', 3], ['International journal of acarology', 1], ['Journal of Natural History', 2], ['Linzer biologische Beiträge', 5], ['Persian Journal of Acarology', 4], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['ZooKeys', 4], ['Zoologische Verhandelingen', 8], ['Zoosystema', 3], ['Zootaxa', 102], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=154)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);