Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubble chart

Public visualization

Viewing a saved revision (read-only)

ce0185f9011e43c8933b4a9702cc31b6

Bubble chart

0 stars0🌍 Public
SSree Yuktha Sunkara
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from 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