function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Antarctic Research Series', 4], ['Biological Reports of the Soviet Antarctic Expedition [1955 - 1958]', 5], ['Copeia', 1], ['Discovery Reports', 1], ['Inst. Antarct. Argent.', 1], ['J. L. B. Smith Institute of Ichthyology Special Publication', 1], ['Proceedings of the Biological Society of Washington', 2], ['Voprosy Ikhtiologii', 1], ['ZooKeys', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);