function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Check List', 3], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien. Mathematisch-Naturwissenschaftliche Klasse', 2], ['Ecologica Montenegrina', 2], ['European Journal of Taxonomy', 3], ['Geodiversitas', 3], ['Journal of Natural History', 2], ['Papéis Avulsos de Zoologia', 2], ['Revue suisse de Zoologie', 3], ['Ruthenica, Russian Malacological Journal', 2], ['Zitteliana', 3], ['ZooKeys', 112], ['Zoological Journal of the Linnean Society', 6], ['Zoosystematics and Evolution', 15], ['Zootaxa', 15], ['Other (1)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=179)', 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);