function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 6], ['European Journal of Taxonomy', 24], ['Journal of Natural History', 3], ['Phytotaxa', 2], ['Proceedings of the Zoological Society of London', 2], ['Records of the Australian Museum', 1], ['Records of the Western Australian Museum', 1], ['Transactions of the Linnean Society of London, Second Series. Zoology', 1], ['ZooKeys', 28], ['Zoological Studies', 2], ['Zoological Systematics', 7], ['Zoosystema', 7], ['Zootaxa', 76] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=160)', 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);