function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropod Systematics & amp; Phylogeny', 1], ['European Journal of Taxonomy', 2], ['Geodiversitas', 2], ['Munis Entomology & Zoology', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 5], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 2], ['Species Diversity', 1], ['ZooKeys', 2], ['Zootaxa', 15] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=31)', 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);