Skip to main content
100%

fresh block

✓ Published0🌍 Public
PPragyagarg
Last edited Aug 24, 2018
Created on Aug 24, 2018

A force-directed network diagram displays the familial relationships between individual mice from a colony, using data from `colony.csv`. Nodes represent each animal, while links connect offspring to their fathers via the father ID. The visualization is interactive, allowing users to click a "Degree Size" button that scales node radius and repulsion strength based on each node's degree centrality. The code leverages the `d3.forceSimulation` API with custom charge and center forces, rendering the network as animated SVG elements. Styling is applied via CSS classes, with distinct colors for active, source, and target nodes to highlight the interaction.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes