activity6_task4_answer
✓ Published0🌍 Public
This bubble chart visualizes the relationship between laptop processor speed, RAM, and battery life, with each circle positioned by processor speed and RAM on the x- and y-axes while its radius encodes battery life. Brand identity is communicated through color, with a legend mapping each brand to its assigned color. The visualization uses D3.js v7 with a standard `d3.select` workflow, `d3.scaleLinear` for position and size encoding, `d3.scaleOrdinal` for color mapping, and `d3.axisBottom` and `d3.axisLeft` for axes. Data is loaded asynchronously from a CSV file hosted on GitHub, and hovering over a bubble triggers a styled tooltip displaying detailed specifications.
AI-generated descriptionMIT Licensed