Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

“Scatter — Life Expectancy (Year vs Life)”

Public visualization

“Scatter — Life Expectancy (Year vs Life)”

0 stars0🌍 Public
Aabhyudaithakur7@gmail.com
Last edited Sep 18, 2025
Created on Sep 18, 2025

This scatter plot visualizes the relationship between year and life expectancy using D3.js scales and SVG circles. The React app fetches a CSV file, auto-detects its delimiter (tab or comma), parses numeric columns, and renders data from the included dataset featuring India’s life expectancy from 2000 to 2023. The `viz.js` module maps values to x/y coordinates via `scaleLinear` and `extent`, with status messages for loading, errors, or empty data. The SVG includes white background, axis labels, and the visualization title.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed