Hair Metal Conclusion
This interactive scatterplot charts hair length and album count against Billboard hits for 1980s hair metal bands, with pink circles representing each band. Clicking the x-axis labels switches the independent variable between hair length and number of albums, triggering a smooth transition of the axis and circles via d3 transitions. The visualization uses d3.csv to load the data, d3.scaleLinear for both axes, d3.axisBottom for the x-axis, and d3-tip for hover tooltips that display the band’s age and the selected metric.