I'm trying to display the data for "total_txs" from this URL https://www.chain.so/api/v2/address/DOGE/DK1i69bM3M3GutjmHBTf7HLjT5o3naWBEk
I've put together the following but the div is blank. (Forgive me if its painfully simple to see what I'm doing wrong)
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$.getJSON("https://www.chain.so/api/v2/address/DOGE/DK1i69bM3M3GutjmHBTf7HLjT5o3naWBEk", function(data) {
$('#totaldonations').text(data.total_txs);
});
</script>
<div id="totaldonations"></div>