Fork of React + D3 Hooks template
This example shows a scatterplot of students' eye colors, encoded as colored circles positioned by their red and green color components, with circle radius representing the blue component. The visualization loads JSON data from a GitHub gist and renders with React and D3 v5, using React hooks such as `useRef` and `useEffect` to integrate D3's data-join and transitions. Circles initially appear at raw coordinates, then animate to scaled positions via `d3.scaleLinear`, `transition.attr`, and `d3.easeBounce`. The D3 selection is made on a React-managed `<g>` element, demonstrating hybrid React-D3 component composition.