🌍 Public
Viewing a saved revision (read-only)
4b212b698b6d47e48f6749f497a60cfc
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