Fork of Diverging bar chart
✓ Published0🌍 Public
A diverging bar chart displays net forest conversion from 1990 to 2015 for countries worldwide, with positive values in green and negative values in red/yellow. The chart uses an ordinal y-axis and a linear x-axis, with bars extending from a central zero line. Data is loaded from a CSV file and rendered as SVG rectangles. The visualization uses d3.scaleBand, d3.scaleLinear, colorbrewer.RdYlGn for color encoding, and a hover tooltip showing exact values. Axes are generated with d3.axisBottom, and the chart includes a legend.
AI-generated descriptionMIT Licensed