Gist e13df2ee55aa6c1117d5d6b6371e9b69
✓ Published0🌍 Public
RRobinL
Last edited Mar 15, 2018
Created on Mar 15, 2018
This example uses Yahoo Finance’s quote API to visualize live foreign-exchange data for the GBP/USD pair through D3.js. The JSON response is processed to display key metrics such as the current price, day’s high and low, and 52-week range, using D3’s scales and SVG paths to render a candlestick-style chart. Only the most recent quote is shown, with no time-series animation or historical data. The rendering logic draws on D3’s `forceSimulation` for layout and `geoPath` for styling, though the visual itself is a simple static chart of the currency pair’s market range.
AI-generated description