D3 Force Simulation
✓ Published0🌍 Public
TTamayoValencia
Last edited Aug 11, 2018
Created on Aug 11, 2018
A force-directed layout positions seven people in a network diagram based on gender and age. Each person is a colored circle, with steelblue for male and firebrick for female, and links show relationships. The simulation uses `d3.forceSimulation` with `d3.forceX`, `d3.forceY`, `d3.forceCollide`, and `d3.forceLink` to compute positions. Nodes are draggable via `d3.drag`, while `d3.scaleSqrt` sizes circles by age and `d3.scaleOrdinal` maps gender to color. The SVG is 800 by 400 pixels.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/john-guerra/'>john-guerra</a>'s block: <a href='http://bl.ocks.org/john-guerra/2b66626b2338ced4718b1bf3f7283e49'>D3 Force Simulation</a>
mit Licensed