function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adam Black', 1], ['Biodiversity Data Journal', 44], ['Dresden und Leipzig', 1], ['G. Levrault', 1], ['Historical Biology', 2], ['Isis von Oken', 1], ['Journal of Systematic Palaeontology', 1], ['Laurentii Salvii', 1], ['Laurentius Salvius', 7], ['Papéis Avulsos de Zoologia', 9], ['Public Library of Science, ONE', 1], ['Records of the Australian Museum', 6], ['Sumptibus C. Salfeld', 1], ['Taylor and Francis', 1], ['Zootaxa', 36], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', 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);