Fork of D3 Starter
✓ Published0🌍 Public
This example shows a scatterplot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with an input field that adjusts the x-axis domain. The code uses D3 v7's `scaleLinear`, `axisBottom`, and `axisLeft` to render the axes, with `transition().duration(1000)` animating axis rescaling and circle repositioning when the domain changes. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and the SVG viewport uses `preserveAspectRatio` for responsive scaling.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed