function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Berlingianis', 1], ['Entomo Helvetica', 5], ['Far Eastern Entomologist', 3], ['Faunus (Gistel\'s)', 1], ['Sborník Severočeského Muzea', 4], ['Schultz-Wundermann', 25], ['Vestnik Zoologii', 1], ['Zoodiversity', 1], ['Zootaxa', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=65)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);