Skip to main content
100%

Line chart

✓ Published0🌍 Public
KKOLLIPATI NIKHIL
Last edited Oct 28, 2025
Created on Oct 28, 2025
Forked from D3 Starter

This line chart visualizes the average fuel efficiency (MPG) of automobiles by model year, using data from the auto-mpg.csv dataset. The visualization aggregates individual car records into yearly averages, with each year represented as an orange dot connected by a blue line. The chart is rendered as an SVG using D3.js v7, employing d3.csv for data loading, d3.rollups for aggregation, d3.mean for calculating averages, d3.scaleLinear for both axes, and d3.line for the path generation.

AI-generated description
MIT Licensed

Similar vizzes