function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Academy of Natural Sciences', 1], ['European Journal of Taxonomy', 13], ['Field Museum of Natural History', 1], ['Nautilus', 1], ['Proceedings of the Malacological Society of London', 2], ['The Journal of Malacology', 2], ['Venus, the Japanese Journal of Malacology', 1], ['ZooKeys', 5], ['Zoosystema', 14], ['Zootaxa', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', 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);