Activity8Task3UN
✓ Published0🌍 Public
This D3.js scatter plot visualizes the relationship between a car's horsepower and its fuel efficiency (miles per gallon), with each circle colored by the vehicle's country of origin (USA, Japan, or other). The visualization uses `d3.csv` to load data from a GitHub-hosted `cars.csv` file, then employs `d3.scaleLinear` to map the numeric axes and `d3.axisLeft`/`d3.axisBottom` to render the labeled scales. Circles are drawn as SVG elements, with colors assigned via a switch statement on the origin field.
AI-generated descriptionMIT Licensed