Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task3

Public visualization

task3

0 stars0🌍 Public
GGanesh Gundekarla
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This scatter plot displays the relationship between horsepower and miles per gallon for vehicles from the Auto MPG dataset, with each point colored by cylinder count. It uses D3 v7 to load CSV data via `d3.csv`, filter out missing horsepower values, and render an SVG with `scaleLinear` axes, `scaleOrdinal` color mapping, and `schemeCategory10` for the legend. The visualization highlights the expected inverse correlation where higher horsepower generally corresponds to lower fuel efficiency.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed