Fork of Loading Data with React & D3
✓ Published0🌍 Public
This interactive node-link diagram visualizes the connections between pages in a dataset, mapping relationships through arcs and colored nodes. Built with React and D3 v5, it uses D3's `scalePoint` and `scaleOrdinal` to position nodes and assign colors based on chapter numbers. The visualization reads from a local `data.js` file containing nodes and links. Hovering over a node highlights it, its direct connections, and related links by applying CSS classes through D3's selection and classing methods, with SVG rendering.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.
MIT Licensed