function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Doklady Akademii nauk Tadzhikistoi SSR', 1], ['Indian Journal of Helminthology', 1], ['Izvestiya Akad Nauk kirgiz SSR', 1], ['Journal of helminthology', 3], ['Philippine Journal of Science, Section D', 1], ['Proceedings of the Helminthological Society of Washington', 1], ['Proceedings of the Indian Academy of Sciences, Section B', 1], ['Proceedings of the National Academy of Sciences, India, Section B, Biological Sciences', 1], ['Records of the Indian Museum', 1], ['Rivista di Parassitologia', 1], ['Zeitschrift für Parasitenkunde', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);