🌍 Public
Viewing a saved revision (read-only)
402b13f37496405da62078c67b40ccc3
Activity6_Question4
This example visualizes the correlation between battery life, processing power, and camera quality across smartphone makes. The chart uses a bubble plot with processing power on the x-axis, camera quality on the y-axis, and bubble size representing battery life, alongside a color scale for phone brands. It includes interactive tooltips on hover and a legend for both bubble size and brand colors. The code uses d3.csv to load data, d3.scaleLinear for axes and bubble radius, and d3.scaleOrdinal with d3.interpolateTurbo for color mapping.
AI-generated description