Activity6_Task4.1
✓ Published0🌍 Public
This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble represents a make, with its position determined by horsepower (x-axis) and torque (y-axis), while the bubble’s radius encodes highway MPG and its color differentiates makes. The chart uses d3.csv to load and parse the data, d3.scaleLinear for axes and sizes, d3.scaleOrdinal with d3.interpolateTurbo for coloring, and d3.axisBottom and d3.axisLeft for axes. Custom tooltips appear on mouseover via event listeners, and a legend clarifies bubble size and color mappings.
AI-generated descriptionMIT Licensed