function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Bulletin of the Florida Museum of Natural History', 1], ['European Journal of Taxonomy', 9], ['Fossil Imprint', 7], ['Geodiversitas', 35], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 6], ['Journal of Vertebrate Paleontology', 1], ['Laurentius Salvius', 3], ['Mammal Species of the World (1 st Edition)', 10], ['Mammal Species of the World (2 nd Edition)', 9], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 19], ['Neues Jahrbuch für Geologie und Paläontologie-Abhandlungen', 1], ['Proceedings of the Zoological Society of London', 4], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', 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);