Skip to main content
100%

Fork of Diverging bar chart

✓ Published0🌍 Public
Ddriftcafe
Last edited Mar 8, 2022
Created on Mar 7, 2022

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 description
MIT Licensed

Similar vizzes