Resusable Scatter Plot
✓ Published0🌍 Public
A reusable scatter plot displays the relationship between students' study hours and exam scores, with each point representing a student. The chart uses axes, labels, and a title to clarify the positive correlation between the two variables. Built with D3 v7, it leverages the reusable `scatterPlot` component to render SVG elements. Data is loaded from a CSV file, and the code uses `d3.scaleLinear`, `d3.extent`, and `d3.axisBottom`/`d3.axisLeft` to construct and scale the plot dynamically.
AI-generated descriptionMIT Licensed