7q4
✓ Published0🌍 Public
This area chart visualizes life expectancy across countries using the Iris Dataset. The chart employs d3.area() to create a filled region, with a band scale for categorical x-axis positioning and a linear scale for the y-axis. Data is loaded from a CSV file via fetch() and parsed with d3.csvParse(). The SVG rendering uses axis generators d3.axisBottom and d3.axisLeft, with rotated tick labels for readability. The green-filled area emphasizes trends while the fixed y-domain [60, 90] highlights variation.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed