Skip to main content
100%

fresh block

✓ Published0🌍 Public
Aaaronbalthaser
Last edited Nov 14, 2017
Created on Nov 13, 2017

A horizontal bar chart displays five names with scores from a static JSON array, rendered as SVG rectangles with light green fills and black strokes. Hovering a bar scales it horizontally to double width, turns it orange, and fades non-hovered bars to 50% opacity; mouseout reverses these effects. The code uses D3 v4 selections, `style('transform', 'scaleX(...)')`, and custom functions for fill and opacity changes, with text labels positioned beside each bar.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes