function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A, Zoology', 4], ['Japanese Journal of Zoology', 1], ['Journal of Parasitology', 2], ['Journal of Xiamen University (Natural Science)', 1], ['Journal of helminthology', 1], ['Keigaku Publishing Company', 1], ['Oceanologia et Limnologia Sinica', 3], ['Papers and proceedings of the Royal Society of Tasmania', 1], ['Proceedings of the Helminthological Society of Washington', 2], ['SatyĆ» Yamaguti', 3], ['Studia Marina Sinica', 4], ['Systematic Parasitology', 2], ['The American Midland Naturalist', 1], ['Transactions of the American Microscopical Society', 2], ['Transactions of the Royal Society of New Zealand', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=29)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);