Activity6_Question4
✓ Published0🌍 Public
This interactive bubble chart visualizes chocolate brands by cocoa percentage, sugar content, and popularity index, with bubble size encoding popularity and color representing brand identity. The SVG visualization uses d3.scaleLinear for x/y axes, d3.scaleOrdinal with d3.interpolateTurbo for color mapping, and d3.csv to load the dataset. Hovering over a bubble triggers tooltip HTML showing the brand name. The chart also includes legends for bubble size and brand colors, rendered with d3 selections and animated transitions on mouseover and mouseleave.
AI-generated descriptionMIT Licensed