Fork of one
✓ Published0🌍 Public
This example presents a reusable scatter plot that visualizes student performance, mapping study hours on the x-axis, scores on the y-axis, and gender as a categorical color. Built with D3 v7, the chart is rendered as SVG and uses `d3.scaleLinear` for axes and `d3.scaleOrdinal` for color encoding. Data is loaded from an external CSV file, and tooltips reveal additional attributes. The scatter plot function is designed for reusability, allowing it to be applied to any dataset with matching fields.
AI-generated descriptionMIT Licensed