Viewing a saved revision (read-only)
85ee1e5aa6934fa4a9591cff0eb21f7e
Barchart with transitions, divergence Values and toolkit *changed*
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