Skip to main content
100%

Squad Selector

✓ Published0🌍 Public
Nnj889
Last edited Sep 4, 2023
Created on Sep 4, 2023

This interactive tree visualization displays a hierarchical squad selection structure, starting with a club and branching into goalkeeper positions. The code uses d3.js v5 with a React framework, rendering an SVG that can be zoomed via `d3.zoom`. Data is loaded from a JSON file and transformed using `d3.hierarchy` and `d3.tree`, with horizontal links drawn via `d3.linkHorizontal`. Node labels are styled with Playfair Display font and text shadows.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes