function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 3], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Insecta Mundi', 1], ['Journal of the Entomological Society of Southern Africa', 1], ['Persian Journal of Acarology', 36], ['Vestnik Zoologii', 11], ['Wiener Entomologische Monatschrift', 1], ['ZooKeys', 1], ['Zootaxa', 57] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=112)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);