Skip to main content
100%

Defensive NBA Players - Interactive Legend

✓ Published1🌍 Public
JJack Hanlon
Last edited Nov 15, 2024
Created on Nov 15, 2024

This interactive visualization displays the top 15 defensive NBA players based on three key statistics: steals, blocks, and defensive rebounds. Users can hover over the color legend or bars to highlight specific data and click a stat to re-sort the chart, showing only that stat. The stacked bar chart is built using d3’s `stack`, `scaleBand`, and `scaleLinear`, with a custom interactive legend that filters data. Tooltips reveal exact values. The data is normalized and sorted within the code before rendering.

AI-generated description

Fork from the Iris Dataset.

Illustrates the top 15 defesnsive players in the NBA by 3 core defensive statistics, Steals, Blocks, and Defensive Rebounds.

MIT Licensed

Similar vizzes