Scatter Plot
✓ Published0🌍 Public
A reusable D3 scatter plot displays the positive correlation between study Hours and exam Score across five custom data points. The chart uses d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for ticks, and SVG circles for points. The scatterPlot function exports a configurable chart factory, invoked with chained setters for width, height, data, and accessor functions. Rendered via SVG with the Share Tech font, axes are labeled "Hours" and "Score" with fixed margins for clear presentation.
AI-generated descriptionMIT Licensed