Skip to main content
100%

Scale 1

✓ Published0🌍 Public
DDanielAguirre
Last edited Oct 6, 2017
Created on Oct 6, 2017

A minimal D3 axis example demonstrates how to create a linear scale and render it as a left-oriented axis. The code builds a `d3.scaleLinear` with a height-based range, then passes it to `d3.axisLeft`, which is invoked on a translated group element via `.call(yAxis)`. The snippet references a `data` array and `extend` placeholder for domain calculation, but does not load or draw any actual data points. It relies on d3.v4 and shows only the axis structure within an empty SVG.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes