function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 230], ['African invertebrates', 31], ['Arthropod fauna of the UAE', 31], ['Biodiversity Data Journal', 154], ['Bulletin of the British Arachnological Society', 23], ['European Journal of Taxonomy', 274], ['Journal of Natural History', 35], ['Peckhamia', 444], ['Raffles Bulletin of Zoology', 60], ['Records of the Australian Museum', 25], ['ZooKeys', 494], ['Zoological Journal of the Linnean Society', 25], ['Zoosystema', 92], ['Zoosystematics and Evolution', 26], ['Zootaxa', 1258], ['Other (55)', 230] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3432)', 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);