activity6_tutorial4
✓ Published0🌍 Public
This bubble chart visualizes car performance by plotting horsepower on the x-axis and torque on the y-axis, with each circle’s radius scaled to horsepower using `d3.scaleSqrt` and colored by manufacturer via `d3.scaleOrdinal` with `d3.schemeCategory10`. The chart renders axes with `d3.axisLeft` and `d3.axisBottom` and adds a legend using a custom `renderLegend` function. Data is loaded asynchronously from `data.csv` and processed in `useData.js`, with the SVG built using D3’s selection and `.join` operations.
AI-generated descriptionMIT Licensed