Skip to main content
100%

Diverging Bar Chart: Swedish Repo Rent 2010-2024

✓ Published1🌍 Public
Kkfhujosefsson@dons.usfca.edu
Last edited Mar 5, 2025
Created on Feb 14, 2025

This diverging bar chart visualizes Sweden’s repo rate from 2010 to 2024, with positive rates in blue and negative rates in red, centered around a zero baseline. Using D3 v7, it loads CSV data via `d3.csv`, maps years to a band scale and percentages to a linear scale, and renders SVG rectangles with a color scale. The chart includes axes, labels, and a legend built with `d3.legendColor`. The data comes from a Gist, and the design effectively highlights periods of negative interest rates.

AI-generated description
MIT Licensed

Similar vizzes