function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ichthyological Exploration of Freshwaters', 3], ['Journal of Natural History', 6], ['Journal of Threatened Taxa', 1], ['Notes from the Leyden Museum', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Raffles Bulletin of Zoology', 2], ['Records of the Indian Museum', 2], ['Zoological Research', 1], ['Zoological Studies', 1], ['Zootaxa', 28] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);