ICE7_Reusable_Scatter_CropYield_Manisha
✓ Published0🌍 Public
This scatter plot visualizes crop yield in tons per hectare against production in million tonnes, with points colored by a categorical group. Built as a reusable D3.js component, it loads data from a CSV file and uses the `d3.selectAll().join()` pattern for incremental rendering. The chart applies `d3.scaleLinear` for both axes, `d3.scaleOrdinal` for color mapping, and `d3.axisBottom`/`d3.axisLeft` for labeled axes, with a legend generated from the distinct group values.
AI-generated descriptionMIT Licensed