New Year's Resolution for 2017: Make a D3 Block a day to teach myself D3. This is Number 5. This example tries to implement the bar chart from January 1st using SVG elements outlined in Malcolm Maclean's D3.js Tips and Tricks V4. This example builds on yesterday's example wiring up the button selections for elementary, middle and high schools (which wasn't easy --- for me). The chart also adds in some CSS hover effects.
https://d3js.org/d3.v4.min.js