function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Bulletin of the American Museum of Natural History', 35], ['Geodiversitas', 1], ['Handbook of the Mammals of the World – Volume 5 Monotremes and Marsupials', 21], ['Journal of Mammalogy', 1], ['Journal of mammalogy', 1], ['Mammal Species of the World (1 st Edition)', 16], ['Mammal Species of the World (2 nd Edition)', 16], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 19], ['Mammalian Biology (Zeitschrift für Säugetierkunde)', 1], ['Proceedings of the Biological Society of Washington', 1], ['Zoological Journal of the Linnean Society', 10], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=126)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);