function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anthropological Science', 1], ['Estudios Geológicos', 2], ['Fossil Imprint', 1], ['Geodiversitas', 48], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 30], ['Journal of Systematic Palaeontology', 9], ['Mammal Species of the World (1 st Edition)', 23], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 43], ['Mammalia', 7], ['Neues Jahrbuch für Geologie und Paläontologie - Abhandlungen', 1], ['Palaeontologia Electronica', 3], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 5], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=187)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);