Skip to main content
100%

Activity-6_3

✓ Published1🌍 Public
MMdAfikurRahmanKhan@my.unt.edu
Last edited Nov 17, 2025
Created on Nov 17, 2025
Forked from Activity6_q3

This scatter plot visualizes the relationship between horsepower and fuel efficiency (MPG) for cars from the Auto MPG dataset, with each point colored by the vehicle's region of origin (USA, Europe, or Japan). Using D3 v7, the code loads CSV data via `d3.csv`, maps it with a custom parsing function, and renders points as SVG circles with `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for region-based coloring. The visualization includes labeled axes, a legend, and a red title, all rendered as SVG elements.

AI-generated description
MIT Licensed

Similar vizzes