Choose a view below. All views use the same uploaded dataset.
Loading CSV...
',d=>{for(const k of ['year','population_millions','gdp_per_capita','co2_per_capita','co2_total_mt','renewable_pct','energy_per_capita'])d[k]=+d[k];return d}).then(d=>{raw=d;draw(0)}).catch(e=>d3.select('#status').text('CSV loading failed: '+e+' — serve both files together using a local server or VizHub.'));