🌍 Public
Viewing a saved revision (read-only)
4595ee0ab92447769135cb0059567f7c
D3 Axes - Scale Types
This example demonstrates six D3 axis types rendered side-by-side in a single SVG, each labeled with its scale type. It shows how different scales—linear, sqrt, log, time, band, and point—map input domains to output ranges of 0 to 500, with axes generated using `d3.axisBottom()`. The code explicitly defines each scale, then reassigns the axis’s scale before calling it on separate `<g>` elements, all built with D3 v7.
AI-generated description