test chart added to index with d3/c3 and data from API