function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Biodiversity Data Journal', 32], ['European Journal of Taxonomy', 2], ['Gustav Fischer', 1], ['Invertebrate Systematics', 4], ['Journal of Natural History', 8], ['Kuroshio Biosphere', 4], ['Records of the Australian Museum', 1], ['Species Diversity', 14], ['ZooKeys', 13], ['Zoological Journal of the Linnean Society', 23], ['Zoological Studies', 3], ['Zoological studies', 2], ['Zoosystema', 40], ['Zootaxa', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=248)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);