function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Raffles Museum', 1], ['Check List', 1], ['Ichthyological Exploration of Freshwaters', 4], ['Journal of Fish Biology', 6], ['Journal of Natural History', 9], ['Journal of Threatened Taxa', 1], ['Notes from the Leyden Museum', 5], ['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', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=72)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);