Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barchart

Public visualization

Viewing a saved revision (read-only)

5a16fa5ab1e84ddf89f708c4036069c3

barchart

0 stars0🌍 Public
NNeeraj Kumar
Last edited Jan 16, 2024
Created on Jan 16, 2024
Forked from forcedlayout

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()`.

AI-generated description

My fisrt viz with javascript