Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Q1 for car data

Public visualization

ICE-7 Q1 for car data

0 stars0🌍 Public
Aakshayamsgrad@gmail.com
Last edited Oct 28, 2025
Created on Oct 28, 2025

This scatter plot visualizes the relationship between engine size (liters) and fuel efficiency (mpg) for car models across ten brands, using color to distinguish each manufacturer. It shows the expected tradeoff: larger engines generally achieve lower fuel efficiency. The visualization is built with D3.js, using reusable chart components with `d3.scaleLinear` for the x and y axes, `d3.scaleOrdinal` with `d3.schemeTableau10` for color encoding, and `d3.axisBottom`/`d3.axisLeft` for ticks. The data comes from a local CSV file, rendered as an SVG with circles and a stacked legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed