Skip to main content
100%

Bar chart with D3.js

✓ Published0🌍 Public
MMinwoo Pak
Last edited Jul 11, 2021
Created on Jul 11, 2021
Forked from D3 Starter

This bar chart displays the most loved programming languages in 2018, based on Stack Overflow survey data, with each bar’s height representing the percentage of developers who reported loving that language. The visualization is rendered as an SVG with D3.js v6, using `d3.scaleBand` and `d3.scaleLinear` for the axes. Hovering over a bar triggers a transition that highlights the selected bar, increases its width, draws a dashed reference line at the hovered value, and displays percentage divergence labels for all other bars relative to the selected one. The chart includes grid lines, axis labels, a title, and a source attribution.

AI-generated description
MIT Licensed

Similar vizzes