Skip to main content
100%

Assignment 6

✓ Published0🌍 Public
BBhargav Reddy
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from D3 Starter

This scatter plot shows the relationship between horsepower and miles per gallon for a dataset of automobiles, with each car represented as a blue semi-transparent dot. The visualization uses D3 v7 to load the CSV file, parse numeric values, and scale the data linearly along both axes. Points are rendered as SVG circles, with axes and labels generated using `d3.axisBottom`, `d3.axisLeft`, and appended text elements. The chart includes a title and axis labels for horsepower and MPG, with missing values filtered out before plotting.

AI-generated description
MIT Licensed

Similar vizzes