Skip to main content
100%

Bar chart with D3.js

✓ Published0🌍 Public
SSharanya1307
Last edited Apr 4, 2023
Created on Apr 4, 2023
Forked from D3 Starter

This bar chart visualizes the most loved programming languages of 2018, using data from a Stack Overflow survey, with each language’s popularity percentage shown on a horizontal axis. Implemented with D3.js v5, it renders as an SVG with animated hover interactions: moving the mouse over a bar highlights it, draws a dashed threshold line, and displays the percentage difference between that language and all others. The chart uses `d3.scaleBand` and `d3.scaleLinear` for axes, and applies transitions to bars and text on mouse events.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes