Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Multiline chart

Public visualization

Viewing a saved revision (read-only)

d4ee298d5b464fa3b764316eee7c4181

Fork of Multiline chart

0 stars0🌍 Public
Kkfhujosefsson@dons.usfca.edu
Last edited Apr 12, 2025
Created on Apr 12, 2025
Forked from Multiline chart

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 description