🌍 Public
Viewing a saved revision (read-only)
6c04aff78b0040bb8f9e652ab0d55ad6
Simple Bar Chart
This simple bar chart displays nine data values as vertical green bars on an SVG canvas. Each bar responds to mouseover and mouseout events, smoothly transitioning its fill color to blue and back to green using D3 transitions. The visualization is built entirely with D3 v7 APIs, including `scaleBand`, `scaleLinear`, `selectAll`, and `join` to bind data and render rectangles. Axes are omitted, keeping the chart focused on the raw data values, which are also exposed as tooltips via appended `title` elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.