Skip to main content
100%

Fork of ICE 7 Resuable scatter plot Ar

✓ Published2🌍 Public
Ssaisathwikaguntupalli@gmail.com
Last edited Oct 24, 2025
Created on Oct 24, 2025

This scatter plot visualizes the relationship between engine size and fuel efficiency for 15 car models, showing a general trend of lower MPG as engine displacement increases. Each data point is a filled circle colored uniquely per car model from a custom palette. The D3.js v7 code loads data from a CSV file, maps engine size (x-axis) and MPG (y-axis) to linear scales, and renders axes, labels, and hover tooltips via `d3.axisBottom`, `d3.axisLeft`, and `.on('mouseover')`. The chart is drawn in SVG within a styled HTML container.

AI-generated description
MIT Licensed

Similar vizzes