function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Journal of Hygiene', 3], ['Canadian Journal of Zoology', 1], ['Dissertation', 1], ['Folia Parasitologica', 1], ['Havniae & Lipsiae', 8], ['Indian Journal of Medical Research', 1], ['Journal of Parasitology', 15], ['Journal of helminthology', 1], ['Journal of the Shanghai Science Institute, New Series', 1], ['Parasitologische Schriftenreihe', 1], ['Parasitology', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Publications of the South African Institute of Medical Research', 1], ['The Biological Bulletin', 5], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', 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);