X DataClips + D3.js Force-Directed
This example visualizes stock exchange venue activity using a force-directed graph in D3.js v3. It pulls live market data from the IEX Trading API via a JSONP callback, then renders nodes sized by a selectable metric—volume, market percent, or tape type—with proportional radii and categorical colors. A dropdown menu lets viewers switch the driving attribute, triggering an SVG rebuild. The layout uses `d3.layout.force` with fixed gravity and drag behavior, while labels display venue names and formatted values. Data is wrapped in a custom `d3.jsonp` helper to handle cross-origin requests.
AI-generated descriptionSecond demo of consuming Heroku DataClips with D3.js.
Data source: https://dataclips.heroku.com/vgyygvzqtezwpmwpcmmjlluamjlk (.json)
forked from <a href='http://bl.ocks.org/dustinlarimer/'>dustinlarimer</a>'s block: <a href='http://bl.ocks.org/dustinlarimer/5716840'>DataClips + D3.js Force-Directed</a>
forked from <a href='http://bl.ocks.org/karthiir/'>karthiir</a>'s block: <a href='http://bl.ocks.org/karthiir/7b6475e0878972db47e92e31ff55f298'>X DataClips + D3.js Force-Directed</a>