Skip to main content
100%

Question3

✓ Published0🌍 Public
Aaschowdary.shashi@gmail.com
Last edited Oct 24, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between horsepower and miles per gallon for a small set of car models, encoded as colored circles. Each point’s position maps horsepower on the x-axis and MPG on the y-axis, with a categorical color scale distinguishing individual vehicles. The visualization is built with D3 v6, using `d3.csv` to load data from `car1.csv`, `d3.scaleLinear` for axes, and `d3.axisBottom`/`d3.axisLeft` to render ticks. The SVG output includes labeled axes for horsepower and MPG, with a fixed 800×600 canvas.

AI-generated description
MIT Licensed

Similar vizzes