Untitled
✓ Published0🌍 Public
This example shows a horizontal bar chart comparing marks across grade categories (Grade_A through Grade_F) using a CSV data source. Each bar is color-coded based on its mark value via the `colourPicker` function, and hovering with the mouse triggers an animated enlargement of the bar while displaying a tooltip with the mark and grade. The visualization uses D3 v4 with SVG rendering, `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and transitions via `transition.duration` and `transition.delay` for the initial render and hover interactions.
AI-generated descriptionMIT Licensed