🌍 Public
Viewing a saved revision (read-only)
198b866b7944476b8187e7df5d93ab91
Claude 3.7 Test
This stacked bar chart displays four groups with five categorical segments each, using a harmonious color palette with white strokes between segments. The visualization includes grid lines behind the bars, axes with labels, a legend, and a title. Built with D3.js v7, the code uses d3.stack(), d3.scaleBand(), and d3.scaleLinear() to generate the chart, with data hardcoded in the script and rendered as SVG that fills the browser window.
AI-generated descriptionA demonstration of how to start using D3 version 6.