Iteration 1
This radar chart compares four institutional metrics—total enrollment, endowment per student, annual R&D expenditures, and selectivity—across thirteen universities. The visualization uses a square layout with linear scales positioned around the chart’s edges, drawing each university as a closed polygon path via `d3.line()`. Interactive features include hover highlighting that emphasizes matching polygons and legend items, plus clickable legend entries that toggle universities on and off. The code leverages D3 v7 APIs such as `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and event handlers on SVG elements, with data loaded from a CSV using `csvParse`.
AI-generated descriptionRadar Chart REAL Visualization!
Next, interactive legend, hover highlighting, and maybe zooming scales
Got help from ChatGPT on the hover code: https://gistpreview.github.io/?d6ab9f1fddca65abf60fdbefbe89a5f5