function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Check List', 1], ['Field Columbian Museum Zoological Series', 1], ['Fossil Imprint', 3], ['Geodiversitas', 2], ['Handbook of the Mammals of the World – Volume 1 Carnivores', 4], ['J. Nourse', 1], ['J. Pauli', 1], ['Laurentius Salvius', 5], ['Mammal Species of the World (1 st Edition)', 5], ['Mammal Species of the World (2 nd Edition)', 5], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 28], ['North American Fauna', 18], ['Proceedings of the Biological Society of Washington', 55], ['Transactions of the Linnean Society of London', 2], ['Zootaxa', 3], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=138)', 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);