function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Check List', 5], ['European Journal of Taxonomy', 2], ['Journal of Natural History', 30], ['Mémoires du Muséum national d\'Histoire naturelle', 1], ['Proceedings of the Scientific Meetings of the Zoological Society of London', 1], ['Raffles Bulletin of Zoology', 14], ['Records of the Zoological Survey of India', 3], ['ZooKeys', 11], ['Zootaxa', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=168)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);