barchart
A bar chart displays the "most loved" programming languages from the 2018 Stack Overflow survey, ranking ten languages by percentage of developers who reported loving them. Animated interactions on mouse hover emphasize a selected bar, dim other value labels, draw a horizontal dashed line at that bar's y-value, and compute divergence percentages relative to the hovered language. The visualization uses D3 v5 with an SVG render, `d3.scaleBand` for categorical x-positions, and `d3.scaleLinear` for the y-axis. Grid lines are generated via `d3.axisLeft`, and changes in bar opacity, width, and position are handled with `transition().duration()`.