Skip to main content
100%

ICE_6_Yaswanth_duddu

✓ Published0🌍 Public
YYaswanth
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from HTML Starter

This visualization is a scatter plot that shows the relationship between engine size and fuel efficiency (MPG) for different car types, with each point colored by vehicle category from the cars.csv dataset. The D3.js v6 code loads the data using `d3.csv` with `d3.autoType`, then creates linear scales for both axes via `d3.scaleLinear` and an ordinal color scale for the categorical variable. Circles are bound to data using the `enter()` selection, and interactive tooltips appear on mouseover. The SVG chart includes axes, labels, a title, and a legend, all rendered through D3's SVG rendering API.

AI-generated description
MIT Licensed

Similar vizzes