function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 5], ['Acta Zootaxonomica Sinica', 1], ['Annals of the Natal Museum', 1], ['Anzeiger', 1], ['Check List', 1], ['European Journal of Taxonomy', 1], ['Field Columbian Museum Zoological Series', 2], ['Journal of Natural History', 3], ['Memoirs of the Queensland Museum', 1], ['Phuket Marine Biological Center Research Bulletin', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the United States National Museum, 3', 1], ['Raffles Bulletin of Zoology', 10], ['Species Diversity', 1], ['Zootaxa', 16] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);