function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Mitteilungen aus dem Naturhistorischen Museum in Hamburg', 1], ['Proceedings of the United States National Museum, 3', 1], ['Subterranean Biology', 2], ['ZooKeys', 3], ['Zoosystema', 7], ['Zootaxa', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=35)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);