function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin de la Société Philomathique de Paris, Série 9', 1], ['European Journal of Taxonomy', 4], ['Journal of Natural History', 11], ['Journal of Species Research', 1], ['Kungliga Svenska Vetenskapsakademiens Handlingar, Ny Följd', 1], ['Raffles Bulletin of Zoology', 2], ['Records of the Australian Museum', 32], ['Smithsonian Contributions to Zoology', 2], ['Species Diversity', 14], ['ZooKeys', 2], ['Zootaxa', 95] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=165)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);