Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Multiline chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed