Bubble chart
✓ Published0🌍 Public
A bubble chart visualizes the correlation between average weight, sugar content, and price for ten fruits. Each fruit is represented by a circle whose x-axis position maps weight, y-axis position maps grams of sugar, and radius encodes price in dollars. The chart uses D3.js v7 with SVG for rendering, employing `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` with a turbo color interpolation for fruit categories, and a custom tooltip on mouseover for identifying each fruit.
AI-generated descriptionMIT Licensed