Barchart with transitions, divergence Values and toolkit *changed*
✓ Published4🌍 Public
SSchmittYannic
Last edited Aug 24, 2020
Created on Aug 11, 2020
Forked from Barchart with transitions and divergence Values
This bar chart displays the absolute frequencies of six ordinal categories, such as "sehr gut" and "ungenügend," with a horizontal grid and y-axis label. Built with D3 v5, the visualization encodes values as bar heights and includes interactive hover transitions that enlarge the selected bar and show a tooltip with its category and value. The chart also renders data value labels above each bar and a divergence text (not implemented in the code). Axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with scales from `d3.scaleLinear` and `d3.scaleBand`, while styling is applied via CSS classes.
AI-generated descriptionBarChart code from https://jsfiddle.net/matehu/w7h81xz2/ and Code of Toolkit from http://bl.ocks.org/1Cr18Ni9/bfadecc96183c48d13b7b90bcf358a61
MIT Licensed