Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Lliechtia
Last edited Oct 20, 2018
Created on Oct 20, 2018
Forked from Customizing Axes

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 description

Data about cars from UCI Machine Learning Repository

MIT Licensed

Similar vizzes