function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 56], ['Acta Zootaxonomica Sinica', 59], ['Asiatic Researches', 87], ['Biodiversity Data Journal', 71], ['Ichthyological Exploration of Freshwaters', 54], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 155], ['Proceedings of the United States National Museum, 3', 57], ['Proceedings of the Zoological Society of London, B', 87], ['Raffles Bulletin of Zoology', 157], ['Records of the Indian Museum', 70], ['Turkish Journal of Zoology', 182], ['ZooKeys', 51], ['Zoological Journal of the Linnean Society', 61], ['Zoosystematics and Evolution', 82], ['Zootaxa', 1716], ['Other (402)', 2072] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=5017)', 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);