function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Biodiversity Data Journal', 1], ['British Museum', 1], ['Crustaceana', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 2], ['Journal of Natural History', 26], ['Journal of Species Research', 4], ['Korean Journal of Zoology', 2], ['Marine Biodiversity Records', 3], ['Pacific insects', 2], ['Proceedings of the Biological Society of Washington', 3], ['Records of the Australian Museum', 9], ['Smithson Contrib Zool', 2], ['ZooKeys', 11], ['Zootaxa', 205], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=278)', 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);