🌍 Public
Viewing a saved revision (read-only)
c1c55e5c204d48beb97e910b6fc1bbd7
Making a TItle on the Scatterplot
This example displays the classic Iris dataset as a scatterplot, mapping petal width to the horizontal axis and sepal width to the vertical axis. Each data point is rendered as an SVG circle with a tooltip showing its coordinate values. The code uses d3.csv for data loading, d3.scaleLinear for mapping data to pixel coordinates, and d3.axisBottom and d3.axisLeft for the chart axes, all within an SVG created by d3.select.
AI-generated description