Viz - biPartite - fill
✓ Published0🌍 Public
NNPashaP
Last edited Jan 21, 2018
Created on Jan 7, 2018
This example shows a bipartite graph with three primary nodes on the left linked to two secondary nodes on the right, with link thickness proportional to the numeric values in the data. The visualization uses the `viz.biPartite` API from Viz.js to compute the layout, while a custom `fill` function assigns colors to each primary node. Rendered as SVG within a fixed 960×700 frame, the chart is drawn inside a `<g>` element using D3 v4, and the code sets the frame height to 700 pixels to match the canvas.
AI-generated descriptiongpl-3.0 Licensed