🌍 Public
Viewing a saved revision (read-only)
ce0185f9011e43c8933b4a9702cc31b6
Bubble chart
This bubble chart visualizes wheat yield data for Indian states, with each circle’s size representing the yield in kilograms per hectare. It uses a force-directed layout via `d3.forceSimulation` with `forceX`, `forceY`, and `forceCollide` to pack the bubbles without overlap. Circle radii are computed with `d3.scaleSqrt`, and colors come from `d3.scaleOrdinal` with `schemeCategory10`. Data loads from a remote CSV file using `d3.csv`, and hover effects change bubble color to orange.
AI-generated description