function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 23], ['Asiatic Researches', 6], ['Bijdragen tot de Dierkunde', 6], ['Ichthyol. Explor. Freshwaters', 9], ['Ichthyological Exploration of Freshwaters', 19], ['Journal of Fish Biology', 11], ['Journal of South Asian Natural History', 28], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 6], ['Raffles Bulletin Of Zoology', 9], ['Raffles Bulletin of Zoology', 23], ['Records of the Indian Museum', 19], ['Turkish Journal of Zoology', 47], ['Verlag Dr. Friedrich Pfeil', 15], ['ZooKeys', 8], ['Zootaxa', 353], ['Other (75)', 126] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=708)', 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);