function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 21], ['Bulletin of the American Museum of Natural History', 101], ['Check List', 8], ['Fossil Imprint', 11], ['Geodiversitas', 22], ['Handbook of the Mammals of the World – Volume 7 Rodents II', 766], ['Journal of Mammalogy', 11], ['Mammal Species of the World (1 st Edition)', 645], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 835], ['Mammalia', 29], ['Mammalian Species', 16], ['Special Publications of the Museum of Texas Tech University', 16], ['ZooKeys', 21], ['Zoological Journal of the Linnean Society', 16], ['Zootaxa', 97], ['Other (5)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2624)', 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);