Skip to main content
100%

Book LRND3 v4 Chapter 5

✓ Published1🌍 Public
Ssakhabutdinov
Last edited Jan 7, 2020
Created on Jan 4, 2020

This interactive bar chart visualizes the UK prison population from 1900 to 2015, with buttons that let users explore different historical periods (e.g., 1900–1930, 1930–1960). Predefined selections highlight notable years, such as 1993, alongside explanatory text for each era. Built with D3 v5, it uses `d3.scaleBand`, `d3.scaleLinear`, and `d3.transition` for animated updates of bar positions and heights, driven by data from `uk_prison.csv`. Buttons load scenes defined in `data.json`, triggering zoom-like range changes and timed transitions.

AI-generated description

Chapter5 of the book by Rinninsland and Teller

MIT Licensed

Similar vizzes