function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 28], ['Australasian Journal of Herpetology', 8], ['Bulletin of the American Museum of Natural History', 20], ['Check List', 12], ['Comptes rendus des séances de l’Académie des Sciences', 5], ['European Journal of Taxonomy', 13], ['Fossil Record', 5], ['Geodiversitas', 34], ['Geological Survey of Canada Contributions to Canadian Palaeontology', 7], ['Laurentius Salvius', 12], ['Megataxa', 373], ['Panckoucke', 5], ['ZooKeys', 7], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 182], ['Other (48)', 75] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=804)', 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);