Fork of Multiline chart
✓ Published0🌍 Public
This interactive multiline chart visualizes GDP trends for ten North and Central American countries from 2006 to 2023. Users can toggle individual country lines via checkboxes, with a tooltip displaying precise GDP values on hover. The visualization, built with D3.js, uses a CSV dataset fetched from a GitHub gist and renders smooth SVG paths with animated transitions. A legend with a color scale distinguishes each nation, while a dynamically sized viewport and dashed grid lines enhance readability. The code employs D3's `scaleOrdinal`, `csvParse`, and SVG path generation for the interactive line chart.
AI-generated descriptionMIT Licensed