function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anthropological Science', 1], ['Bulletin of the American Museum of Natural History', 2], ['Check List', 1], ['Fossil Imprint', 11], ['Geodiversitas', 23], ['H. L. Brönner', 1], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 18], ['Laurentius Salvius', 5], ['London Medical Repository', 1], ['Mammal Species of the World (1 st Edition)', 14], ['Mammal Species of the World (2 nd Edition)', 21], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 59], ['Mammalian Species', 1], ['Revue de Paléobiologie', 2], ['Zootaxa', 7], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=173)', 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);