Book LRND3 v4 Chapter 5
✓ Published0🌍 Public
This interactive chart shows the UK prison population from 1900 to 2013, using animated bar charts to illustrate changes over time. Buttons allow users to jump between historical periods, with bars highlighting specific years (e.g., wartime) and text providing context. The visualization is built with D3 v5, using `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with transitions animating bar height and position. Data is loaded from a CSV file via a custom `csvParse` function, and UI elements are added programmatically.
AI-generated descriptionChapter5 of the book by Rinninsland and Teller
MIT Licensed