Skip to main content
Public

Share visualization

Loading preview…

ICE-7 Q1 for car data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE-7 Q1 for car data

0
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