Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

b47115e311094619851db6f0423940e6

Area Chart

0 stars0🌍 Public
MMonish Galla
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Circles with D3

This area chart displays highway fuel efficiency (MPG) by vehicle make, with a skyblue filled path showing the value distribution. The chart uses D3.js v7 with an SVG rendering approach, scaling categorical makes on the x-axis via `d3.scaleBand` and numeric MPG on a linear y-axis. The `d3.area` generator constructs the path, while rotated axis labels and `d3.axisBottom` and `d3.axisLeft` provide clear reading of the data, which is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description