function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 4], ['Check List', 8], ['Fossil Imprint', 3], ['Geodiversitas', 19], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 293], ['Laurentius Salvius', 8], ['Mammal Species of the World (1 st Edition)', 311], ['Mammal Species of the World (2 nd Edition)', 325], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 738], ['Mammalia', 23], ['Mammalian Species', 19], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 10], ['Zoosystema', 6], ['Zootaxa', 41], ['Other (7)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1819)', 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);