function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 2], ['Biodiversity Data Journal', 3], ['Ecologica Montenegrina', 1], ['Geodiversitas', 1], ['Geologia Croatica', 1], ['Geologica Carpathica', 1], ['Journal de Physique, de Chimie, d\'Histoire Naturelle et des Arts', 1], ['The Bulletin of the Russian Far East Malacological Society', 2], ['Vestnik Zoologii', 5], ['ZooKeys', 11], ['Zoological Journal of the Linnean Society', 8], ['Zoosystematics and Evolution', 5], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);