Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7-2b

Public visualization

Viewing a saved revision (read-only)

e6a87b3617bb4979b28eaa1e9b47dd7b

ICE7-2b

0 stars0🌍 Public
SSainathreddypotu@gmail.com
Last edited Oct 28, 2025
Created on Oct 28, 2025
Forked from HTML Starter

This visualization shows the relationship between horsepower and fuel efficiency (MPG) for a subset of 50 cars from a CSV dataset. A tomato-colored line, generated with `d3.line()` and smoothed using `curveMonotoneX`, connects data points sorted by horsepower to reveal the overall trend. The chart renders as SVG using D3 v7, with linear scales for both axes and blue circles representing individual car data points. Interactive tooltips appear on mouseover, displaying each car's name, horsepower, and MPG values.

AI-generated description