Skip to main content
100%

Interactions

✓ Published1🌍 Public
DDasbach.EJ
Last edited Jul 2, 2021
Created on Jul 1, 2021
Forked from Tree Map

A horizontal bar chart displays weight data for five people, loaded from a local CSV file with d3.csv. Bars are colored blue by default; hovering turns a bar red, and clicking updates a details panel with the person’s name. A vertical red line follows the mouse position using d3.mouse on the SVG container. The chart uses d3.scaleLinear for bar widths, d3.scaleBand for positioning, and d3.axisLeft for the y-axis, with SVG rectangles and animated transitions for rendering.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes