function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benham and Leeve', 52], ['Biodiversity Data Journal', 114], ['Bulletin of the National Science Museum, Series A (Zoology)', 59], ['European Journal of Taxonomy', 172], ['Geodiversitas', 277], ['Journal of Natural History', 530], ['Laurentius Salvius', 60], ['Mémoires du Muséum national d\'Histoire naturelle', 164], ['Raffles Bulletin of Zoology', 897], ['Records of the Australian Museum', 70], ['ZooKeys', 317], ['Zoological Journal of the Linnean Society', 266], ['Zoological Systematics', 65], ['Zoosystema', 1062], ['Zootaxa', 9002], ['Other (160)', 886] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13993)', 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);