call chart_json on remote data
set the data source from the block if one is provided