Skip to main content
100%

Final Project- Multiple line chart

✓ Published0🌍 Public
Mmhzahdeh@dons.usfca.edu
Last edited Apr 7, 2025
Created on Feb 10, 2025

This visualization shows GDP per capita trends from 2019 to 2023 for five selected countries: the United States, India, Germany, Brazil, and China. The chart displays five polylines, one per country, with distinct colors and a legend identifying each line. The SVG rendering uses `d3.line()` to generate the paths and `d3.scalePoint()` for the x-axis years, while `d3.legendColor()` creates the color legend. Data is loaded from a CSV file via `d3.csv()` and processed into long format for plotting.

AI-generated description
MIT Licensed

Similar vizzes