Skip to main content
100%

Untitled

✓ Published0🌍 Public
Hhaiyangwhy1015
Last edited Feb 24, 2021
Created on Feb 24, 2021

A force-directed network graph maps relationships between board games, with blue solid edges for 0-value links and dashed lines for 1-value links. Node size and color intensity scale with degree, while labels identify each game. Built with React and D3 v5, the visualization uses `d3.forceSimulation` with link, center, charge, x, and y forces. Interactive features include dragging via `d3.drag` and double-clicking to fix nodes, which adds an orange stroke.

AI-generated description

Boilerplate code for a React + D3 visualization with:

  • CDN links for React, ReactDOM, and D3
  • Basic React boilerplate
  • Variables for dimensions and margins
  • A VizContainer component that:
    • Abstracts SVG/group container elements
    • Follows the margin convention
    • Show the margins, which can be easily removed by deleting the showMargins={true} prop
MIT Licensed

Similar vizzes