function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A (Zoology)', 3], ['Entomologiske Meddelelser', 4], ['Fauna of New Zealand', 3], ['New Zealand Journal of Zoology', 1], ['Raffles Bulletin of Zoology', 1], ['Revue d\'écologie et de biologie du sol', 1], ['ZooKeys', 55], ['Zootaxa', 115] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=183)', 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);