function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Strahan, and T. Cadell | W. Creech', 1], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin of the American Museum of Natural History', 1], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 6], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 1], ['Laurentius Salvius', 6], ['Mammal Species of the World (1 st Edition)', 6], ['Mammal Species of the World (2 nd Edition)', 6], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 10], ['Mammalian Species', 4], ['Mémoires concernant l\'Histoire Naturelle de l\'Empire Chinois', 1], ['Weygand', 4], ['ZooKeys', 2], ['Zoosystema', 2], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);