Customizing Axes
This example demonstrates how to customize chart axes in D3.js, using a scatter plot of automobile data (horsepower vs. weight) from a CSV file. It shows how to remove the default axis frame lines, add tick marks that span the entire plot area, and append clear axis labels and a title. The code uses D3 v5 APIs including `select`, `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `format`. The rendering is done using SVG within a React project, with all styling applied via external CSS classes.