function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bernice P. Bishop Museum Bulletin', 1], ['Biodiversity Data Journal', 2], ['Journal of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 3], ['Kongl. Vetenskaps Academiens Nya Handlingar', 1], ['Records of the Zoological Survey of India', 1], ['Schultz', 1], ['The Bulletin of the Russian Far East Malacological Society', 4], ['Transactions of the Wagner Free Institute of Science of Philadelphia', 1], ['Transactions of the geological society of London, 2', 1], ['Visaya', 1], ['ZooKeys', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);