function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 469], ['Archiv für Molluskenkunde', 900], ['Biodiversity Data Journal', 586], ['European Journal of Taxonomy', 1742], ['Geodiversitas', 593], ['Journal of Natural History', 891], ['Laurentius Salvius', 670], ['Mémoires du Muséum national d\'Histoire naturelle', 527], ['Records of the Australian Museum', 394], ['Visaya', 649], ['ZooKeys', 6099], ['Zoological Journal of the Linnean Society', 763], ['Zoosystema', 933], ['Zoosystematics and Evolution', 499], ['Zootaxa', 9005], ['Other (439)', 5535] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30255)', 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);