Reusable Scatter plot - ICE 7
✓ Published1🌍 Public
This reusable scatter plot compares math and reading scores from the StudentsPerformance.csv dataset, with gender distinguishing the data points by color. The chart uses d3.v7 to implement a modular scatterPlot() function with configurable accessor methods for x, y, color, and axis labels. D3’s scaleLinear, scaleOrdinal, and schemeTableau10 power the axes and color encoding, while hover tooltips display each point’s exact values. The legend, axes, and dots are rendered dynamically within an SVG container, following D3’s data-join pattern for reusable chart components.
AI-generated descriptionMIT Licensed