Customizing Axes
✓ Published0🌍 Public
This example shows a scatterplot of vehicle weight versus horsepower for the top 10 most populous countries, using data from an auto-mpg dataset loaded via `d3.csv`. The visualization emphasizes customizable axes: the y-axis is rotated with custom text, while the x-axis uses `d3.format('.3s')` for abbreviated labels. Both axes include extended tick lines and removed domains, created with `d3.axisLeft` and `d3.axisBottom`. Circles are rendered as SVG elements positioned by `d3.scaleLinear` scales with `.nice()` padding.
AI-generated descriptionMIT Licensed