function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Allan Hancock Pacific Expeditions', 1], ['Boletin Chileno de Parasitologia', 1], ['Bulletin of Marine Science of the Gulf and Caribbean', 1], ['Bulletin of the National Science Museum, Series A, Zoology', 2], ['California Fish and Game', 1], ['Folia Parasitologica', 1], ['Journal of Parasitology', 1], ['Journal of helminthology', 1], ['Proceedings of Parasitology', 2], ['Proceedings of the Helminthological Society of Washington', 3], ['Proceedings of the United States National Museum, 3', 4], ['Secretaria de Educacion Publica', 2], ['Tulane Studies in Zoology', 3], ['Wuyi Science Journal', 2], ['Zoological Science', 2], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', 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);