function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnologische Mitteilungen', 2], ['Biodiversity Data Journal', 12], ['Bulletin of the British Arachnological Society', 1], ['Caucasian Entomological Bulletin', 1], ['Caucasiana', 1], ['ZooKeys', 27], ['Zoological Journal of the Linnean Society', 59], ['Zoology in the Middle East', 1], ['Zoosystema', 7], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', 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);