fresh block
This example shows a vertical axis with a linear scale, positioned inside an SVG. The code uses d3.min, d3.max, and d3.extend to compute the domain from an external `data` array, referencing a city variable. A d3.scaleLinear maps this domain to pixel heights, and d3.axisLeft with the scale generates the tick marks and labels. The axis is appended to an SVG g element, translated 40 pixels from the left and 20 from the top. The data itself is not defined in the visible HTML, leaving its source unspecified.