function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 28], ['Bollettino del Laboratorio di zoologia generale e agraria della R. Scuola superiore d\'agricoltura in Portici', 2], ['Journal of the Washington Academy of Sciences', 1], ['Linzer biologische Beiträge', 6], ['Proceedings of the Hawaiian Entomological Society', 2], ['Proceedings of the United States National Museum, 3', 1], ['ZooKeys', 2], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=74)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);