🌍 Public
Viewing a saved revision (read-only)
ab784a6ea4604ed98aac064cede87c27
Axis test
Two charts compare how `d3.axisBottom` handles band scales with different domain sizes. The top axis uses a small domain of seven values, displaying every tick, while the bottom axis uses a domain of fifty values and reduces ticks to twenty using `d3.ticks`. Both scales use `d3.scaleBand` and `rangeRound`, with axes rendered as SVG `<g>` groups. The implementation builds axis configurations through a custom `makeAxis` function that conditionally selects tick values based on domain length.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.