function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin de la Societe Geologique de France', 2], ['Geodiversitas', 2], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 2], ['Laurentius Salvius', 5], ['London Medical Repository', 1], ['Mammal Species of the World (1 st Edition)', 6], ['Mammal Species of the World (2 nd Edition)', 6], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 6], ['Memoirs of Museum Victoria', 1], ['Records of the Australian Museum', 2], ['Veit', 1], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);