function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Bertrand', 2], ['African Invertebrates', 3], ['American Journal of Conchology', 1], ['Archiv für Molluskenkunde', 1], ['Archiv für Naturgeschichte', 1], ['Geodiversitas', 1], ['Geologica Carpathica', 1], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 4], ['Vestnik Zoologii', 19], ['Zitteliana', 4], ['ZooKeys', 23], ['Zoosystema', 2], ['Zoosystematics and Evolution', 94], ['Zootaxa', 35], ['Other (12)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=208)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);