🌍 Public
Viewing a saved revision (read-only)
1b9fd310fb8941ee90070cf5c12c3a2e
Fork of HTML Starter
This parallel coordinates chart displays 2023 country-level energy, GDP, CO2, and renewable energy metrics, with each polyline representing a country colored by region. The code uses d3.csv to load data from a GitHub Gist, d3.scalePoint for horizontal axis positioning, d3.scaleLinear for each variable's vertical scale, and d3.line to generate the polylines. Axes are drawn with d3.axisLeft, and the visualization includes hover interactions that increase stroke width, plus a Tableau10 color legend for regions.
AI-generated description