function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the British Museum (Natural History), Zoology Series', 1], ['Journal of Natural History', 3], ['Proceedings of the Helminthological Society of Washington', 1], ['Revue suisse de Zoologie', 12], ['Vestnik Zoologii', 1], ['ZooKeys', 1], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);