Skip to main content
100%

Gist fd2387f597641c4a52a7

✓ Published0🌍 Public
Aandybak
Last edited Sep 15, 2014
Created on Sep 15, 2014

This visualization displays the movement of consignments over time, plotting each item’s journey from start to end location based on timestamps. The code queries logistics data with Django ORM, filtering out consignments linked to bookings with a specific status, then renders the results as a temporal flow. It uses D3.js’s `d3.forceSimulation` to position nodes representing locations and consignments, while `transition.attrTween` animates the paths between them. The rendering approach relies on SVG elements, with the data sourced from a PostgreSQL database via the raw SQL query shown.

AI-generated description

Similar vizzes