function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 1], ['Biodiversity Data Journal', 2], ['Bulletin de la Societe Vaudoise des Sciences Naturelles', 1], ['Fauna of New Zealand', 16], ['Journal of Natural History', 2], ['Journal of Nematology', 3], ['Journal of Threatened Taxa', 14], ['Nematology', 2], ['Nematropica', 1], ['New Zealand Journal of Science', 2], ['Parasites & Vectors', 1], ['Vestnik Zoologii', 1], ['Wolfgang Gerle', 1], ['Zoological Journal of the Linnean Society', 9], ['Zootaxa', 234], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=292)', 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);