function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Atti della Accademia Pontaniana', 1], ['Benjamin White and Son', 2], ['Bolletino della Societa geologica italiana', 2], ['British Museum (Natural History)', 3], ['Bulletin -- United States National Museum', 1], ['Bulletin du Muséum National d’Histoire Naturelle, [Série 1]', 1], ['Don Antonio de Sancha', 1], ['Hallageriis', 1], ['Laurentius Salvius', 6], ['Memoirs of the Indian Museum', 1], ['Palaeontology', 1], ['Proceedings of the Zoological Society of London', 1], ['Skrivter af Naturhistorie-Selskabet', 2], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 3], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', 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);