Fork of Histogram with D3
✓ Published0🌍 Public
This histogram displays birth rates per 1000 for different age groups in California for 2016, using a bar chart with an interactive tooltip that reveals the age group on hover. Built with D3 v7, it loads CSV data via `d3.csv`, maps age groups to a `d3.scaleBand` and rates to a `d3.scaleLinear`, and renders the bars as SVG rectangles. Tooltips are appended and removed dynamically using `svg.append("text")` and `d3.select("#t1").remove()` on mouseenter and mouseleave events.
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
MIT Licensed