function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 11], ['Biodiversity Data Journal', 2], ['Invertebrate Systematics', 5], ['Journal of Molluscan Studies', 2], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 1], ['Molluscan Research', 7], ['Raffles Bulletin of Zoology', 4], ['ZooKeys', 21], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=62)', 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);