🌍 Public
gork
A line chart with multiple dropdowns displays trends for GDP, CPI, and life expectancy over time. The visualization uses d3.csv to load data from a remote GitHub repository and d3.scaleLinear, d3.line, and d3.axisBottom/axisLeft to render the SVG chart. A dropdown menu built with D3’s selection and join methods lets users switch indicators, triggering an updateChart function that recomputes scales and redraws the line.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.