🌍 Public
Viewing a saved revision (read-only)
cf3cc744807343ec90fe999d8e97d967
Cars Scatter Plot
This example visualizes the relationship between horsepower and weight for cars, with each car represented as a semi-transparent red circle. The scatter plot uses d3.scaleLinear for both axes, with nice-ticked scales and gridlines drawn via tickSize. Data comes from a CSV file of auto-mpg records, parsed with d3.csv and rendered as SVG. The chart includes labeled axes for "Horsepower" and "Weight," and a title, using d3.axisLeft and d3.axisBottom for tick generation.
AI-generated descriptionAn example including some commonly used features of SVG.