Skip to main content
100%

Barchart-d3

✓ Published0🌍 Public
Bbl75d
Last edited Feb 27, 2020
Created on Feb 27, 2020
Forked from Barchart-d3

This example displays a bar chart of player statistics from a small dataset, with each bar representing a player's goals or age. The bars are rendered as SVG rectangles using D3 v5, with a dropdown menu to switch between the two data attributes. On mouseover, a bar highlights in orange and displays its value as text. The visualization uses D3's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs, with a transition animation on mouseout to restore the bar's original styling.

AI-generated description

Barcharts and Histograms. D3 playground.

MIT Licensed

Similar vizzes