Skip to main content
100%

ICE 7 Line Chart (Sai Kaushik Ganji)

✓ Published0🌍 Public
SSai Kaushik Ganji
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from Line Chart

This line chart visualizes the relationship between horsepower and fuel efficiency across 24 vehicle models, with fuel efficiency plotted on the y-axis and horsepower on the x-axis using linear scales. The visualization includes interactive hover tooltips that display details for individual data points. Built with D3 v7, the code uses d3.csv() with d3.autoType to parse the vehicles.csv data, d3.scaleLinear() for both axes, and d3.axisBottom()/d3.axisLeft() to render the grid lines and axis ticks. The SVG rendering approach includes a fixed-position tooltip element that responds to mouse events.

AI-generated description
MIT Licensed

Similar vizzes