function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Molluskenkunde', 4], ['Geodiversitas', 1], ['Iheringia, Série Zoologia', 4], ['Journal of Molluscan Studies', 1], ['Journal of Natural History', 7], ['Proceedings of the Boston Society of Natural History', 1], ['Raffles Bulletin of Zoology', 44], ['Ruthenica, Russian Malacological Journal', 2], ['Vernate', 2], ['ZooKeys', 96], ['Zoosystema', 3], ['Zoosystematics and Evolution', 2], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=199)', 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);