🌍 Public
Viewing a saved revision (read-only)
5434f2d191d2412cbb6baff838e42e07
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