Skip to main content
100%

Area Chart

✓ Published0🌍 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
MIT Licensed

Similar vizzes