Loading JSON data with D3's function.