function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 132], ['Bulletin of the American Museum of Natural History', 177], ['Fossil Imprint', 58], ['Geodiversitas', 202], ['Handbook of the Mammals of the World – Volume 6 Lagomorphs and Rodents I', 757], ['Handbook of the Mammals of the World – Volume 7 Rodents II', 1717], ['Mammal Species of the World (1 st Edition)', 2162], ['Mammal Species of the World (2 nd Edition)', 2524], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 3530], ['Mammalia', 100], ['Mammalian Species', 70], ['Records of the Australian Museum', 93], ['Zoological Journal of the Linnean Society', 163], ['Zoosystema', 84], ['Zootaxa', 481], ['Other (66)', 315] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=12565)', 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);