Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
BBraja Gopal Das
Last edited Apr 19, 2019
Created on Apr 19, 2019
Forked from Customizing Axes

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 description
MIT Licensed

Similar vizzes