Skip to main content
100%

Viz - chord - source target value

✓ Published0🌍 Public
NNPashaP
Last edited Jan 13, 2018
Created on Jan 13, 2018

This example visualizes international travel flows as a chord diagram, showing directional connection values between the US, Canada, UK, China, and India using an SVG rendering. The code uses the `viz.chord()` API from the vizjs library, with custom accessor functions mapping the data array’s source, target, and value (divided by 1000) fields. The chart is generated by calling `d3.select("g").call(chord)` in d3.v4, with the data provided as a hardcoded gist array of country-pair values.

AI-generated description
gpl-3.0 Licensed

Similar vizzes