Fork of Activity6_tutorial4
✓ Published0🌍 Public
This bubble chart visualizes the correlation between price and average battery life for various watch brands. Each circle represents a watch model, with its horizontal position indicating price and vertical position indicating battery life, while the circle’s size and color both encode price. Built with D3.js (v7), the visualization uses `d3.scaleLinear` for axes and bubble radius, and `d3.scaleOrdinal` to assign colors from `d3.interpolateTurbo` for brand differentiation. Hovering a bubble triggers a custom tooltip showing brand, price, and battery life. A legend displays example circle sizes, and the data is loaded from a local CSV file.
AI-generated descriptionBubblechart for the correlation between torque, horsepower, and MPG between various cars
MIT Licensed