function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 8], ['Annali del Museo Civico di Storia Naturale di Genova', 3], ['Copeia', 3], ['Ichthyological Exploration of Freshwaters', 3], ['Journal Yunnan Univ.', 8], ['Journal of Fish Biology', 19], ['Journal of Natural History', 11], ['Journal of the Bombay Natural History Society', 4], ['Occasional Papers of the Museum of Zoology, University of Michigan', 4], ['Proceedings of the California Academy of Sciences, Series 4', 3], ['Raffles Bulletin of Zoology', 24], ['Records of the Indian Museum', 11], ['Turkish Journal of Zoology', 7], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 412], ['Other (41)', 57] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=582)', 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);