function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Entomo Helvetica', 1], ['European Journal of Taxonomy', 2], ['Journal of Natural History', 2], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Revue Suisse de Zoologie', 5], ['Verlag von Wilhelm Engelmann', 2], ['ZooKeys', 2], ['Zootaxa', 61] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);