🌍 Public
Viewing a saved revision (read-only)
18777bac52cd40da8b145de131e75b15
Fork of CSCE 5320 - HW7 - Stacked and Grouped Charts
RRakesh vilasagaram
Last edited Oct 27, 2026
Created on Oct 27, 2026
Forked from CSCE 5320 - HW7 - Stacked and Grouped Charts
This interactive visualization by rakesh9949 uses D3.js (v7) to compare stacked and grouped bar charts of CO2 emissions per capita across countries and years. Users toggle between the two modes via buttons, with the SVG chart rendering either cumulative year segments or side-by-side bars. The tooltip-free interface loads data from a local CSV file with a Gist fallback, applying `d3.scaleOrdinal` and `d3.schemeTableau10` for color-coding. The chart includes a legend and displays records, countries, and years parsed via `d3.csv`.
AI-generated description