Customizing Axes
✓ Published0🌍 Public
This example visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository. The scatterplot uses red, semi-transparent circles to show data points, with customized axes featuring tick lines that extend across the entire chart and removed domain lines. The code uses d3.scaleLinear, d3.axisLeft, and d3.axisBottom to construct the scales and axes, while labels for both axes and the title are added as SVG text elements.
AI-generated descriptionData about cars from UCI Machine Learning Repository
MIT Licensed