function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biologiya Morya, Kiev', 1], ['Journal of Parasitology', 2], ['Journal of helminthology', 1], ['Keigaku Publishing Company', 1], ['Memorias de la Sociedad Cubana de Historia Natural - Felipe Poey-', 1], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Scientific Survey of Porto Rico and the Virgin Islands', 1], ['The American Midland Naturalist', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=9)', 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);