Skip to main content
100%

7q4

✓ Published0🌍 Public
Kktvgs25@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from 7q3

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes