Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question3

Public visualization

Question3

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed