Skip to main content
100%

Multi-Series Chart — CO₂ and Renewables 2025

✓ Published0🌍 Public
Vvunnamnandini13@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from HTML Starter

This example shows a multi-series combo chart comparing CO₂ emissions (bars, in million tonnes) and renewable energy percentage (line) for countries in 2025. Country data is sorted by emissions and color-coded by region. Built with D3 v7, it renders an SVG canvas and uses `d3.scaleBand`, `d3.scaleLinear`, and axes with gridlines. Data is loaded from a CSV via `d3.csv` with `d3.autoType`, and an interactive tooltip responds to hover. The chart animates on load and displays a legend for regional categories.

AI-generated description
MIT Licensed

Similar vizzes