Assignment 6 updated -- Diverging bar chart with diverging color scale
✓ Published0🌍 Public
This diverging bar chart visualizes net forest conversion by country, with bars extending right from a central zero axis for net gains (green) and left for net losses (red). The code uses D3 v6 to load CSV data via `d3.csv`, scale linear and band axes, and applies the ColorBrewer RdYlGn color scheme through `colorScale.domain([-max, max])`. A tooltip displays each country's value on mouseover, and the chart labels each bar with its entity name.
AI-generated descriptionMIT Licensed