Skip to main content
100%

ICE-7 Q1 for car data

✓ Published0🌍 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
MIT Licensed

Similar vizzes