function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Academiae Medicinae Zunyi', 1], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 4], ['Asiatic Researches', 8], ['Calcutta Journal of Natural History, and Miscellany of the Arts and Sciences in India', 1], ['Copeia', 1], ['Journal Pan-Pac. Res. Inst.', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Journal of the Siam Society Natural History, Supplement', 1], ['Madras Journal of Literature and Science', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 5], ['Natuurkundige Verhandelingen van de Hollandsche Maatschappij der Wetenschappen te Haarlem, Series 2', 2], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Philippine Journal of Science, Section D', 10], ['Proceedings of the Zoological Society of London, B', 8], ['Zootaxa', 3], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=50)', 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);