function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales de la Sociedad EspaƱola de Historia Natural', 2], ['Annals of the Lyceum of Natural History of New York', 1], ['Biodiversity Data Journal', 1], ['Biol. Cent. - Amer.', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Bulletin of the United States Fish Commission', 1], ['Check List', 4], ['Copeia', 2], ['Ichthyological Research', 1], ['Journal of Natural History', 2], ['Memoirs of the Queensland Museum', 1], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the United States National Museum, 3', 2], ['Zootaxa', 62], ['Other (7)', 7] ]); 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);