🌍 Public
Viewing a saved revision (read-only)
396e73f7803e4aee9d7ab32602830f1a
Histogram with D3
This histogram displays birth rates per 1000 residents across age groups in California for 2016, rendered as blue SVG bars. It uses d3.csv to load the data, d3.scaleBand and d3.scaleLinear for axes, and d3.axisBottom/axisLeft for ticks. Hovering over a bar appends a text label showing the age group via mouseenter/mouseleave events. The chart includes labeled axes for age and count, with a title noting the year and location.
AI-generated descriptionAssignment 4 part A+
Histogram inspired by https://www.d3-graph-gallery.com/graph/histogram_tooltip.html and by documentation https://github.com/d3/d3/blob/main/API.md