Refactor Project zzz1
This animated D3 v4 visualization displays each country's cumulative greenhouse gas emissions over time, with a focus on the top ten ranked countries. It presents a series of small bar charts, one per year, where each bar represents a country's emissions, sequentially revealing new "top" countries as they enter the ranking. The implementation uses `d3.scaleBand` and `d3.scaleLinear` for axes and employs custom `generalUpdate`, `generalEnter`, and `attributes` functions to manage SVG elements. Data is sourced from a CSV file containing country, year, GHG emissions, cumulative GHG, population, and final rank.