React + D3 Class template
✓ Published0🌍 Public
A React class component wraps a D3.js scatterplot that visualizes student eye colors from a JSON dataset. The plot initially renders circles at raw red and green color values, then transitions them to scaled positions using `d3.scaleLinear` and animates their radius based on blue intensity. The code filters and parses hex color data into RGB components with `d3.json`, and uses SVG circles with `transition.attr` for the animated scaling.
AI-generated descriptionReact + D3
Purpose
To provide an understandable React + D3 template. This version uses the old React style where a component is a class.
MIT Licensed