🌍 Public
Viewing a saved revision (read-only)
6e182a0328e34c87bfd89ecf2ccc0689
Fork of React & D3 Starter
A scatterplot visualizes the relationship between exercise hours and productivity scores for 100 individuals. The SVG chart uses blue circles to represent each data point, with exercise hours on the x-axis and productivity scores on the y-axis. The code loads health_productivity_100.csv using `d3.csv`, then applies `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for tick marks, and dashed gridlines. The chart includes a cursive title and axis labels rendered with D3's SVG text elements.
AI-generated description