Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Barchart with transitions, divergence Values and toolkit *changed*

Public visualization

Viewing a saved revision (read-only)

47cc36cf0d70464c86facf9dc7835873

Fork of Barchart with transitions, divergence Values and toolkit *changed*

0 stars1🌍 Public
NNathelen
Last edited May 8, 2023
Created on May 8, 2023

This example shows a horizontal bar chart of absolute frequencies for six categories, with an interactive tooltip on hover that also highlights and expands the selected bar. The chart includes styled axes, gridlines, and a title. Rendering is SVG with D3 v5, using `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisLeft`/`d3.axisBottom`. The code uses `d3.transition` for bar enlargement on mouseenter, and a tooltip element is managed via plain DOM events. Data is hardcoded in the script.

AI-generated description