function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 14], ['Archiv für Molluskenkunde', 2], ['Archives du Muséum d\'Histoire Naturelle de Lyon', 2], ['Biodiversity Data Journal', 11], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Conchylia', 1], ['Deterville', 1], ['European Journal of Taxonomy', 34], ['Geodiversitas', 19], ['Journal of Natural History', 1], ['Journal of South American Earth Sciences', 2], ['Visaya', 3], ['ZooKeys', 6], ['Zoosystema', 4], ['Zootaxa', 106], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=214)', 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);