This is a modified version of the Inventory Cycle animation that uses external data instead of simulating the system in javascript. (The randomized external data for this example was produced with the accompanying events.py script.)
https://d3js.org/d3.v4.min.js