function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales del Museo Argentino de Ciencias Naturales', 1], ['Apud Petrum van Cleef', 2], ['Check List', 2], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 21], ['Mammal Species of the World (1 st Edition)', 20], ['Mammal Species of the World (2 nd Edition)', 20], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 39], ['P. van Cleef', 1], ['Weigand', 1], ['Weygand', 1], ['ZooKeys', 3], ['Zoological Studies', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=115)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);