ICE7-2b
✓ Published0🌍 Public
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 descriptionMIT Licensed