JSON into a SVG

This test grabs currency vs currency data from a JSON API and plots it in graph. Seeing as the data from a particular date isn't going to change in the future there's only one API call per data point.

USD and EUR use the left-hand axis and CNY uses the axis on the right. Because Friday, Saturday and Sunday have the same values I've made Saturday the start of the week.

An updated, mobile-friendly version lives here

Added: 22 Jun 2016

Modified: 19 Jul 2016

Web

API, PHP