Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 7 Q3 B

Public visualization

Assignment 7 Q3 B

0 stars0🌍 Public
Ppezguy97@gmail.com
Last edited Oct 31, 2026
Created on Oct 31, 2026
Forked from Assignment 7 Q3

This example shows a parallel coordinates plot for 2023 world data, with four numeric axes (GDP per capita, energy per capita, CO₂ per capita, renewable share) colored by region. A legend identifies regions, and buttons toggle between two axis orders by swapping the third and fourth dimensions. The code uses d3.csv to load sample data, d3.scalePoint and d3.scaleLinear for positioning, and d3.axisLeft for axis rendering. Lines are drawn as SVG paths with a d3.line generator, styled with d3.schemeTableau10 colors.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed