function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Fossil Imprint', 2], ['Fossil Record', 1], ['Geodiversitas', 22], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 4], ['Johann Christian Dieterich', 1], ['Laurentius Salvius', 2], ['Mammal Species of the World (1 st Edition)', 6], ['Mammal Species of the World (2 nd Edition)', 5], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 9], ['Memoirs of the College of Science, Kyoto Imperial University, Series B', 1], ['Palaeontologia Electronica', 2], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 2], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 7], ['Zootaxa', 2], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=71)', 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);