Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area chart

Public visualization

Viewing a saved revision (read-only)

60a9045cb7094e6cbefa633a94d3c82c

Area chart

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

This area chart shows the average fuel efficiency (MPG) of cars by model year, using data from the auto-mpg.csv dataset. The code loads the CSV with d3.csv, filters out invalid entries, aggregates averages with d3.rollups, and renders a smooth, semi-transparent blue area using d3.area with curveMonotoneX. Axes are drawn with d3.axisBottom and d3.axisLeft, and the chart is built in SVG.

AI-generated description