{"version":"1.0","type":"rich","title":"Force Layout Oceanic Routing","description":"This example uses D3’s force simulation to compute animated ocean shipping routes between Lisbon, Luanda, and Colombo. A world map is drawn with a Mercator projection, and land masses are filled with a grid of fixed force nodes. Route waypoints are generated along straight-line paths between ports and connected with links; the simulation then lets these waypoints repel from land nodes, curving the routes around continents. Yellow lines visualize the force network during the simulation. After the simulation settles, a black cardinal spline is drawn through the waypoints and animated with a stroke-dashoffset transition to trace the final paths.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-df95a52deb118b0ff2c873b9526ec361?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}