function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 7], ['Annals and magazine of natural history, 13', 1], ['Bulletin Univ Nebr State Mus', 1], ['International Journal of Acarology', 1], ['International journal of acarology', 2], ['Journal of Natural History', 1], ['Persian Journal of Acarology', 28], ['Proceedings of the Entomological Society of Washington', 1], ['Veröffentlichungen des Instituts für Meeresforschung Bremerhaven', 14], ['ZooKeys', 1], ['Zootaxa', 61] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=118)', 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);