Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Kkoppulasudhakar03@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025

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 description
MIT Licensed

Similar vizzes