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.

Added: 22 Jun 2016

Modified: 03 Jan 2021

Web

API, PHP