function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bollettino della Società Zoologica Italiana, Series 3', 1], ['Deterville', 1], ['Hallageriis', 1], ['Journal of Paleontology', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 4], ['K. K. Hof-naturalien-cabinet', 1], ['Laurentius Salvius', 18], ['Paleontological Contributions', 1], ['Papéis Avulsos de Zoologia', 1], ['Quarterly Journal of the Geological Society, London', 1], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 2], ['The American Journal of Science, Series 3', 1], ['Transactions of the geological society of London, 2', 4], ['ZooKeys', 5], ['Zootaxa', 48], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=92)', 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);