function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 1], ['Geodiversitas', 2], ['Johan. Christi. Trappii', 1], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 1], ['Papéis Avulsos de Zoologia', 1], ['Revue Suisse de Zoologie', 1], ['Strombus', 2], ['Visaya', 5], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 6], ['Zoosystematics and Evolution', 2], ['Zootaxa', 55] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=85)', 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);