Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between fertilizer use and crop yield for ten countries, using data from a CSV file. Each circle represents a country, with its position determined by the `d3.scaleLinear` axes and its color assigned by `d3.scaleOrdinal` with the `d3.schemeSet2` palette. The circles animate into view using `transition()` with staggered delays, and hovering reveals a tooltip via `d3.select` and `tooltip.html`, while also highlighting the selected point with a stroke.
AI-generated descriptionMIT Licensed