use new ripplecharts api endpoint and update layout