function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 5], ['African invertebrates', 1], ['Biodiversity Data Journal', 1], ['Bollettino della Società Paleontologica', 1], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 1], ['Marine Biodiversity Records', 1], ['Records of the Auckland Museum', 2], ['Ruthenica, Russian Malacological Journal', 2], ['ZooKeys', 4], ['Zoological Science', 1], ['Zoosystema', 1], ['Zootaxa', 62] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);