나라별 factor 비교
This visualization compares country-level factors—such as old-age population, unemployment, house prices, marriage rates, and female labor participation—across five Asian nations (Indonesia, Japan, China, Vietnam, and South Korea) from 2000 to 2020. A dropdown menu selects the factor, and colored lines (red, blue, yellow, green, orange) trace each country’s temporal trend, with checkboxes filtering displayed countries. The SVG chart uses d3.csv to load data, d3.scaleLinear for axes, and d3.line paths with animated transitions (duration 3000 ms) to update the y-axis domain and redraw lines when the factor changes.