Line chart
✓ Published0🌍 Public
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 descriptionMIT Licensed