function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Geodiversitas', 1], ['Journal of Natural History', 3], ['Journal of the Academy of Natural Sciences of Philadelphia', 3], ['K. K. Hof-naturalien-cabinet', 1], ['Kongl. Vetenskaps Academiens Nya Handlingar', 1], ['Laurentius Salvius', 11], ['Schultz', 1], ['Wolfgang Gerle', 1], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);