Skip to main content
100%

Linked Views

✓ Published0🌍 Public
DDasbach.EJ
Last edited Jul 3, 2021
Created on Jul 3, 2021
Forked from Creating Tooltips

A simple bar chart displays GDP by country from a CSV file, using D3 v6 to bind data to SVG rectangles. Hovering over a bar reveals a tooltip showing the country name, following the cursor's position via mouse events. The chart uses scaleBand and scaleLinear for x and y axes, with a fixed width and height. Clicking or interacting with bars updates the tooltip dynamically, demonstrating linked views between data and visual feedback.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes